Devise

Hi, I’m working with devise for user system, but after logged in, he
redirect the user for the root project. I would like to redirect each
type
of user for an different page. Someone already did something like that
with
devise?

Thanks!


Fernando A.

Hi Fernando, check this link:

https://github.com/plataformatec/devise/wiki/How-To:-Change-the-default-sign_in-and-sign_out-routes

Devise has a pretty good user group on google, too. Jose is usually
pretty responsive with any question. HTH

Bill

Hi!!

Thanks by the tip!

I already read this wiki, is pretty good! But he did not say how to
change
the route who redirect the user after he has login.

I’m join the group to try this response!

Thanks!!

On Mon, Jun 6, 2011 at 11:01 PM, William K. Hatch Jr. <
[email protected]> wrote:

Fernando A.

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Fernando A.

[iOSDeveloper] - ObjectiveC
[WebDesigner] - CSS3&HTML5
[WebDeveloper] - RubyOnRails
*--------------------------------------------------------------
*
[portfolio] http://www.fernandoaureliano.com -
[blog]http://www.fernandoaureliano.com/

Hi Fernando,

I think this is the wiki page you’re looking for:
https://github.com/plataformatec/devise/wiki/How-to:-redirect-to-a-specific-page-on-successful-sign-in
.

On Tue, Jun 7, 2011 at 4:33 AM, Fernando A. <

I’ve created for the root_path the special method that redirects the
user again preserving flash to the place defined by the user’s role.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs