Skip to content

Commit

Permalink
[#3196] Add missing url rule in api view
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Aug 18, 2016
1 parent b92edd6 commit f7196ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/views/api.py
Expand Up @@ -99,3 +99,5 @@ def get_api(ver=1):

# Routing
api.add_url_rule(u'/', view_func=get_api, strict_slashes=False)
api.add_url_rule(u'/<int(min=1, max={0}):ver>'.format(API_MAX_VERSION),
view_func=get_api, strict_slashes=False)

0 comments on commit f7196ef

Please sign in to comment.