Skip to content

Commit

Permalink
persistent session bug ...
Browse files Browse the repository at this point in the history
  • Loading branch information
kfl62 committed Feb 13, 2009
1 parent 468a1ff commit d335692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller.rb
Expand Up @@ -12,8 +12,8 @@ class ApplicationController < ActionController::Base

private
def current_trst_user_session
return @current_user_session if defined?(@current_user_session)
@current_user_session = TrstUserSession.find
return @current_trst_user_session if defined?(@current_trst_user_session)
@current_trst_user_session = TrstUserSession.find
end

def current_trst_user
Expand Down

0 comments on commit d335692

Please sign in to comment.