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.
On Jun 7, 9:03 am, Chris Kottom <ch...@chriskottom.com> wrote: > Hi Fernando, > > I think this is the wiki page you're looking > for:https://github.com/plataformatec/devise/wiki/How-to:-redirect-to-a-sp... > . > > On Tue, Jun 7, 2011 at 4:33 AM, Fernando Aureliano < > > m...@fernandoaureliano.com> wrote: > > 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. < > > stompinwi...@gmail.com> wrote: > > >> Hi Fernando, check this link: > > >>https://github.com/plataformatec/devise/wiki/How-To:-Change-the-defau... > > >> Devise has a pretty good user group on google, too. Jose is usually pretty > >> responsive with any question. HTH > > >> Bill > > >> On Jun 6, 2011, at 9:07 PM, Fernando Aureliano wrote: > > >> > 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 Aureliano > > >> > -- > >> > You received this message because you are subscribed to the Google > >> Groups "Ruby on Rails: Talk" group. > >> > To post to this group, send email to rubyonrails-talk@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscr...@googlegroups.com. > >> > For more options, visit this group at > >>http://groups.google.com/group/rubyonrails-talk?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Ruby on Rails: Talk" group. > >> To post to this group, send email to rubyonrails-talk@googlegroups.com. > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscr...@googlegroups.com. > >> For more options, visit this group at > >>http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > *Fernando Aureliano* > > -------------------------------------------------------------- > > [iOSDeveloper] - *ObjectiveC* > > [WebDesigner] - *CSS3&HTML5* > > *[WebDeveloper] - RubyOnRails* > > *-------------------------------------------------------------- > > * > > [portfolio] <http://www.fernandoaureliano.com> - > > [blog]<http://www.fernandoaureliano.com/> > > - [personal blog] <http://www.obsessivocompulsivo.com/> - > > [twitter]<http://twitter.com/Pailoro> > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.