test/rails_app/config/routes.rb in devise-3.2.2 vs test/rails_app/config/routes.rb in devise-3.2.3
- old
+ new
@@ -84,10 +84,11 @@
devise_for :accounts, :singular => "manager", :class_name => "Admin",
:path_names => {
:sign_in => "login", :sign_out => "logout",
:password => "secret", :confirmation => "verification",
:unlock => "unblock", :sign_up => "register",
- :registration => "management", :cancel => "giveup"
+ :registration => "management",
+ :cancel => "giveup", :edit => "edit/profile"
}, :failure_app => lambda { |env| [404, {"Content-Type" => "text/plain"}, ["Oops, not found"]] }, :module => :devise
end
namespace :sign_out_via, :module => "devise" do
devise_for :deletes, :sign_out_via => :delete, :class_name => "Admin"