diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py index 67dd53d272f5bccd034b574f2776b04d1f06244a..f7522b36f844ad2e2c6715b0f7e3d842e172e413 100644 --- a/ckanext/odsh/plugin.py +++ b/ckanext/odsh/plugin.py @@ -83,17 +83,17 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm u'/dashboard', view_func=dashboard.dashboard, strict_slashes=False, defaults={ u'offset': 0 }) - bp_dashboard.add_url_rule( - u'/dashboard/<int:offset>', view_func=dashboard.dashboard) bp_dashboard.add_url_rule( u'/dashboard/datasets', view_func=dashboard.dashboard_datasets) + bp_dashboard.add_url_rule( + u'/dashboard/<int:offset>', view_func=dashboard.dashboard) # Harvest bp_harvest = harvest.blueprint bp_harvest.add_url_rule(u'/harvest', view_func=harvest.search, strict_slashes=False) + bp_harvest.add_url_rule(u'/harvest/new', view_func=harvest.new) bp_harvest.add_url_rule(u'/harvest/<id>', view_func=harvest.read) bp_harvest.add_url_rule(u'/harvest/about/<id>', view_func=harvest.about) - bp_harvest.add_url_rule(u'/harvest/new', view_func=harvest.new) # Feed bp_feed = feed.blueprint