Skip to content

Commit

Permalink
Merge pull request ckan#3858 from smotornyuk/fix-link-add-dataset-on-…
Browse files Browse the repository at this point in the history
…search-page

Fix of `Add Dataset` button on search page.
  • Loading branch information
wardi authored Oct 10, 2017
2 parents a980129 + 336bf6c commit 1b8686e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def make_map():
with SubMapper(map, controller='package') as m:
m.connect('search', '/dataset', action='search',
highlight_actions='index search')
m.connect('add dataset', '/dataset/new', action='new')
m.connect('dataset_new', '/dataset/new', action='new')
m.connect('/dataset/{action}',
requirements=dict(action='|'.join([
'list',
Expand Down

0 comments on commit 1b8686e

Please sign in to comment.