config/routes.rb in mtdevise-2.5.7 vs config/routes.rb in mtdevise-2.5.9
- old
+ new
@@ -7,9 +7,10 @@
root :to => "dashboard#index", :as => :account_root
# get "/sign_in", :to => "sessions#new"
# post "/sign_in", :to => "sessions#create", :as => :sessions
get "/sign_up", :to => "users#new", :as => :user_sign_up
post "/sign_up", :to => "users#create", :as => :do_user_sign_up
+ post 'users/sign_out' => "devise/sessions#destroy"
end
end
devise_for :users, class_name: 'Mtdevise::User', module: :devise
get '/sign_up', :to => 'accounts#new', :as => :sign_up
\ No newline at end of file