lib/authpwn_rails/routes.rb in authpwn_rails-0.12.0 vs lib/authpwn_rails/routes.rb in authpwn_rails-0.12.1

- old
+ new

@@ -19,27 +19,27 @@ # new_session_path, and token_session_path def authpwn_session(options = {}) controller = options[:controller] || 'session' paths = options[:paths] || controller methods = options[:method_names] || 'session' - + get "/#{paths}/token/:code", :controller => controller, :action => 'token', :as => :"token_#{methods}" - + get "/#{paths}", :controller => controller, :action => 'show', :as => :"#{methods}" get "/#{paths}/new", :controller => controller, :action => 'new', :as => :"new_#{methods}" post "/#{paths}", :controller => controller, :action => 'create' delete "/#{paths}", :controller => controller, :action => 'destroy' - + get "/#{paths}/change_password", :controller => controller, :action => 'password_change', :as => "change_password_#{methods}" post "/#{paths}/change_password", :controller => controller, :action => 'change_password' post "/#{paths}/reset_password", :controller => controller, - :action => 'reset_password', + :action => 'reset_password', :as => "reset_password_#{methods}" end end ActionDispatch::Routing::Mapper.send :include, MapperMixin