tap/app/controllers/sessions_controller.rb
2015-03-20 04:54:44 +01:00

9 lines
164 B
Ruby

class SessionsController < Devise::SessionsController
def new
if session[:id]
redirect_to new_user_avatar_path
return
end
super
end
end