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
This commit is contained in:
parent
0d93b6dc3c
commit
7303cc416c
|
@ -30,7 +30,7 @@ class Board < ActiveRecord::Base
|
||||||
validates_length_of :description, :maximum => 255
|
validates_length_of :description, :maximum => 255
|
||||||
validate :validate_board
|
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))
|
includes(:project).where(Project.allowed_to_condition(args.shift || User.current, :view_messages, *args))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue