diff options
author | jessib <jessib@riseup.net> | 2013-01-31 13:11:02 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-01-31 13:11:02 -0800 |
commit | a59d0aa3ba4eb7ed18597e93fc63c9e0f61b7501 (patch) | |
tree | 178e2b29c8491e1f98615cef5e51ff6160a9e4d7 /users/config | |
parent | eae48e6d7ac052991560510b06e7c7ab78a201fe (diff) | |
parent | 2d330838cf5a763d8de2bea752b4e37cf2caa249 (diff) |
Merge pull request #23 from leapcode/feature/rest_api
Allow PUT API to update user.
Diffstat (limited to 'users/config')
-rw-r--r-- | users/config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb index 4127862..2cd1740 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -5,7 +5,7 @@ Rails.application.routes.draw do path: "/1/", defaults: {format: 'json'} } do resources :sessions, :only => [:new, :create, :update, :destroy] - resources :users, :only => [:create] + resources :users, :only => [:create, :update] end end |