]> source.dussan.org Git - redmine.git/commit
Replaces repository_enable named scope on Project with a more generic one: has_module.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 13 Sep 2008 10:37:23 +0000 (10:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 13 Sep 2008 10:37:23 +0000 (10:37 +0000)
commit231e98f0c75819470dddcca0bdf9e1768ac3e2e8
treed2382d92b8ce38406d1b3c46e24a7a770e5d26fa
parentc77d9712ca9e1f785bc07122acac72f12d2427a0
Replaces repository_enable named scope on Project with a more generic one: has_module.
The new named scope uses raw sql condition to avoid enabled_modules association loading.

git-svn-id: http://redmine.rubyforge.org/svn/branches/nbc@1805 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/sys_controller.rb
app/models/project.rb