Em 29-05-2011 15:03, Christian Johansen escreveu:
On Fri, May 27, 2011 at 22:32, Rodrigo Rosenfeld Rosas <[email protected] <mailto:[email protected]>> wrote:Thanks, great to know that. Maybe, another alternative would be to use :path_prefix => '/sessions' in devise_for call in routes.rb, if that is allowed by Gitorious Reservations. What would you prefer?I would prefer it if the URLs stayed the same - will :path_prefix => "/sessions" do that? The router will not change URLs like that, it mainly translates /users and /groups.
No, the prefix will change the sign_in URL to "/sessions/user/sign_in". It is possible to get something like "/sessions/user/login", but not the original one.
-- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
