diff options
author | jessib <jessib@riseup.net> | 2013-12-16 09:47:53 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-12-16 09:47:53 -0800 |
commit | e2638a3a91cb2c6a426f856c4d1919be1a852b6a (patch) | |
tree | 3679d9b29dacee6997e9744207e305e32fc3857d /users/config/routes.rb | |
parent | 82d0ff664c9d4f5740c09f6ead28ffc02716956a (diff) | |
parent | 496817bd512fe43c4cb80cc49a19dae3ed3eb165 (diff) |
Merge pull request #123 from azul/refactor/standartize-user-routes
refactor: remove Overview controller - we can use Users#show
Diffstat (limited to 'users/config/routes.rb')
-rw-r--r-- | users/config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb index 69f9cf7..de2ff37 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -13,9 +13,8 @@ Rails.application.routes.draw do get "signup" => "users#new", :as => "signup" resources :users, :except => [:create, :update] do - resource :overview, :only => [:show] # resource :email_settings, :only => [:edit, :update] - resources :email_aliases, :only => [:destroy], :id => /.*/ + # resources :email_aliases, :only => [:destroy], :id => /.*/ post 'deactivate', on: :member post 'enable', on: :member end |