Commit 136a2a61 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Applied this fix http://dev.rubyonrails.org/ticket/4967 to solve namespaced…

Applied this fix http://dev.rubyonrails.org/ticket/4967 to solve namespaced models dependencies problem.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@561 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a681d8bf
......@@ -19,6 +19,10 @@ class ApplicationController < ActionController::Base
before_filter :check_if_login_required, :set_localization
filter_parameter_logging :password
REDMINE_SUPPORTED_SCM.each do |scm|
require_dependency "repository/#{scm.underscore}"
end
def logged_in_user=(user)
@logged_in_user = user
session[:user_id] = (user ? user.id : nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment