test/rails_app/config/routes.rb in devise-1.2.1 vs test/rails_app/config/routes.rb in devise-1.3.0
- old
+ new
@@ -27,9 +27,11 @@
authenticate(:admin) do
match "/private", :to => "home#private", :as => :private
end
# Other routes for routing_test.rb
+ devise_for :reader, :class_name => "User", :only => :passwords
+
namespace :publisher, :path_names => { :sign_in => "i_dont_care", :sign_out => "get_out" } do
devise_for :accounts, :class_name => "Admin", :path_names => { :sign_in => "get_in" }
end
scope ":locale" do
\ No newline at end of file