summaryrefslogtreecommitdiffstats
path: root/app/models/board.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-10 04:04:21 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-10 04:04:21 +0000
commit7303cc416c4e60658b6ea9af7d620c3f6c24066b (patch)
tree60df138cbdbe5a64f7fd4f08b2d0a9cb3aa6b812 /app/models/board.rb
parent0d93b6dc3cb8cbea17a72661192932f11ee9918c (diff)
downloadredmine-7303cc416c4e60658b6ea9af7d620c3f6c24066b.tar.gz
redmine-7303cc416c4e60658b6ea9af7d620c3f6c24066b.zip
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
Diffstat (limited to 'app/models/board.rb')
-rw-r--r--app/models/board.rb2
1 files changed, 1 insertions, 1 deletions
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))
}