summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-21 04:56:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-21 04:56:26 +0000
commitfe903be48079730afe78194d92533ff023d71af9 (patch)
treea814e416e6abc47ab0a5bce3a82565d15a8a95dd /app/models
parent885b67fcaafa114147c7848caa9673fd4163b87e (diff)
downloadredmine-fe903be48079730afe78194d92533ff023d71af9.tar.gz
redmine-fe903be48079730afe78194d92533ff023d71af9.zip
remove trailing white-space from app/models/project.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11736 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index f4e5c9f7a..127362ff1 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -90,7 +90,7 @@ class Project < ActiveRecord::Base
scope :status, lambda {|arg| where(arg.blank? ? nil : {:status => arg.to_i}) }
scope :all_public, lambda { where(:is_public => true) }
scope :visible, lambda {|*args| where(Project.visible_condition(args.shift || User.current, *args)) }
- scope :allowed_to, lambda {|*args|
+ scope :allowed_to, lambda {|*args|
user = User.current
permission = nil
if args.first.is_a?(Symbol)