From: Toshi MARUYAMA Date: Sun, 10 Feb 2013 04:04:21 +0000 (+0000) Subject: remove trailing white-space from app/models/board.rb X-Git-Tag: 2.3.0~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7303cc416c4e60658b6ea9af7d620c3f6c24066b;p=redmine.git 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 --- 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)) }