Skip to content

Commit

Permalink
routes is nasty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Feb 21, 2012
1 parent 31e2f8d commit 72ce2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/routing.py
Expand Up @@ -100,7 +100,7 @@ def make_map():
conditions=dict(method=['DELETE']))

# /api/2/util
with SubMapper(map, controller='api', path_prefix='/api{ver:/2}') as m:
with SubMapper(map, controller='api', path_prefix='/api/2') as m:
m.connect('/util/user/autocomplete', action='user_autocomplete')
m.connect('/util/is_slug_valid', action='is_slug_valid',
conditions=dict(method=['GET']))
Expand Down

0 comments on commit 72ce2aa

Please sign in to comment.