class ApplicationController
Public Instance Methods
after_sign_in_path_for(user)
click to toggle source
This tells Devise where to re-direct to after successful sign up or sign in
# File lib/generators/chapter07/begin/templates/app/controllers/application_controller.rb, line 5 def after_sign_in_path_for(user) user_path(user.id) end