lib/authpwn_rails/session.rb in authpwn_rails-0.5.2 vs lib/authpwn_rails/session.rb in authpwn_rails-0.5.3
- old
+ new
@@ -68,13 +68,13 @@
# GET /session
def show
@user = current_user || User.new
if @user.new_record?
welcome
- render :action => :welcome
+ render :action => :welcome unless performed?
else
home
- render :action => :home
+ render :action => :home unless performed?
end
end
# POST /session
def create