OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a681d8b
)
Applied this fix http://dev.rubyonrails.org/ticket/4967 to solve namespaced models...
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Tue, 12 Jun 2007 23:03:38 +0000
(23:03 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Tue, 12 Jun 2007 23:03:38 +0000
(23:03 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@561
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/controllers/application.rb
patch
|
blob
|
history
diff --git
a/app/controllers/application.rb
b/app/controllers/application.rb
index
58193ba
..
3f5a2c7
100644
(file)
--- a/
app/controllers/application.rb
+++ b/
app/controllers/application.rb
@@
-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)