Skip to content

Commit

Permalink
Added routes to manage users and logout.
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-jim committed Aug 15, 2012
1 parent 4b63b3b commit 50339b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crowbar_framework/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
end

devise_for :users
get "manage_users", :controller => 'users', :action => 'index', :as => 'manage_users'
delete "logout_user", :controller => 'users', :action =>'destroy_user_session_path', :as => 'logout_user'

resources :nodes, :only => [:index, :new] do
get 'status', :on => :collection
Expand Down

0 comments on commit 50339b3

Please sign in to comment.