Skip to content

Commit

Permalink
Merge pull request #423 from okfn/423-new-related-url
Browse files Browse the repository at this point in the history
Related link should be called related
  • Loading branch information
vitorbaptista committed Feb 21, 2013
2 parents ba1d689 + 7aed534 commit 41a6c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/config/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ def make_map():
action='delete')
m.connect('related_list', '/dataset/{id}/related', action='list',
ckan_icon='picture')
m.connect('related_read', '/apps/{id}', action='read')
m.connect('related_dashboard', '/apps', action='dashboard')
m.connect('related_read', '/related/{id}', action='read')
m.connect('related_dashboard', '/related', action='dashboard')

with SubMapper(map, controller='package') as m:
m.connect('search', '/dataset', action='search',
Expand Down

0 comments on commit 41a6c5b

Please sign in to comment.