Devise question

Dave Castellano
2012-11-16T18:32:54Z

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

Sign in
<%= 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, "Sign in", :class =>
''btn-primary'' %>
<% end %>
<%= render "devise/shared/links" %>

--
Posted via http://www.ruby-forum.com/.