Update auth_helper.rb

This commit is contained in:
2016-09-02 00:25:32 -04:00
committed by GitHub
parent f14e82a01b
commit 0aa7fe8e73

View File

@@ -16,7 +16,7 @@ module AuthHelper
if token.nil?
redirect_to :back, :flash => {:error => "Bad link"}
else
render :partial => 'issues/show', locals: {issue: Issue.find token.issue_id}, :flash => {:notice => token.issue_id}
#render :partial => 'issues/show', locals: {issue: Issue.find token.issue_id}, :flash => {:notice => token.issue_id}
end
else
if !User.current.logged?