Skip to content
Snippets Groups Projects
Commit 41968164 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed blueprint rule order

parent ae9cf483
Branches
Tags
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment