From fe903be48079730afe78194d92533ff023d71af9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 21 Apr 2013 04:56:26 +0000 Subject: [PATCH] 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 --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)