Topic: Devise question

Using Devise and would like to redirect to a different page upon sign-in.  There is no controller for Devise sessions, so my question is where is the method associated with a new session so I can redirect signed-in user to a different page (or can I do it in the view below?)?  Currently directing to Home/index and want to redirect to Users/show.

<h2>Sign in</h2>
<%= simple_form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-vertical' }) do |f| %> 
<%= f.input :email, :autofocus => true %>
<%= f.input :password %> 
<%= f.input :remember_me, :as => :boolean if devise_mapping.rememberable? %>  <%= f.button :submit,

Last edited by dcastellano1 (2012-11-16 14:29:49)

Re: Devise question

Thanks anyway...  solved.

authenticated :user do
    root :to => 'users#show'

  root :to =>