diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-09 11:58:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-09 11:58:19 +0000 |
commit | 2585ed2e3bf905b72a7b18192b56a6bb8500bda0 (patch) | |
tree | 0413e9a26eb536a4fe1bab57e22feb73a1fbe9cb /app | |
parent | 1ad33134d3005af9a1c8357a55e8c6ab9332d4fa (diff) | |
download | redmine-2585ed2e3bf905b72a7b18192b56a6bb8500bda0.tar.gz redmine-2585ed2e3bf905b72a7b18192b56a6bb8500bda0.zip |
Use spaces instead of tabs.
git-svn-id: http://svn.redmine.org/redmine/trunk@12867 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index c5392d7b0..fd9d647bb 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -622,14 +622,14 @@ class Project < ActiveRecord::Base end end - # Return the enabled module with the given name - # or nil if the module is not enabled for the project + # Return the enabled module with the given name + # or nil if the module is not enabled for the project def enabled_module(name) name = name.to_s enabled_modules.detect {|m| m.name == name} end - # Return true if the module with the given name is enabled + # Return true if the module with the given name is enabled def module_enabled?(name) enabled_module(name).present? end |