Permalink
Browse files

Add request_method for register alias

  • Loading branch information...
1 parent 3da80aa commit 2d760dccbb34b7ea865cccbfb58e79c3ba03f6f2 @rhaamo committed Jan 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 codular/__init__.py
View
@@ -45,4 +45,4 @@ def add_routes(config):
config.add_route('user', '/users/{id}', request_method='GET')
# aliases
- config.add_route('register', '/register')
+ config.add_route('register', '/register', request_method='GET')

0 comments on commit 2d760dc

Please sign in to comment.