From 7303cc416c4e60658b6ea9af7d620c3f6c24066b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 10 Feb 2013 04:04:21 +0000 Subject: [PATCH] remove trailing white-space from app/models/board.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11338 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/board.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/board.rb b/app/models/board.rb index 3be426420..cb81e0a5a 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -30,7 +30,7 @@ class Board < ActiveRecord::Base validates_length_of :description, :maximum => 255 validate :validate_board - scope :visible, lambda {|*args| + scope :visible, lambda {|*args| includes(:project).where(Project.allowed_to_condition(args.shift || User.current, :view_messages, *args)) } -- 2.39.5