Skip to content

Commit

Permalink
[#3022] Register search page route for dataset types
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Dec 5, 2012
1 parent ec2887d commit f43dfde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/lib/plugins.py
Expand Up @@ -73,6 +73,9 @@ def register_package_plugins(map):
# Create a connection between the newly named type and the
# package controller

map.connect('%s_search' % package_type, '/%s' % package_type,
controller='package', action='search')

map.connect('%s_new' % package_type, '/%s/new' % package_type,
controller='package', action='new')
map.connect('%s_read' % package_type, '/%s/{id}' % package_type,
Expand Down

0 comments on commit f43dfde

Please sign in to comment.