##// END OF EJS Templates
remove trailing white-spaces from app/controllers/application_controller.rb...
Toshi MARUYAMA -
r10355:6d6f42c6a9be
parent child
Show More
@@ -22,7 +22,7 class Unauthorized < Exception; end
22 22
23 23 class ApplicationController < ActionController::Base
24 24 include Redmine::I18n
25
25
26 26 class_attribute :accept_api_auth_actions
27 27 class_attribute :accept_rss_auth_actions
28 28 class_attribute :model_object
@@ -90,7 +90,7 class ApplicationController < ActionController::Base
90 90 def find_current_user
91 91 user = nil
92 92 unless api_request?
93 if session[:user_id]
93 if session[:user_id]
94 94 # existing session
95 95 user = (User.active.find(session[:user_id]) rescue nil)
96 96 elsif autologin_user = try_to_autologin
General Comments 0
You need to be logged in to leave comments. Login now