mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
CodeCleanup: Fix a RuboCop offense Layout/LeadingCommentSpace introduced in r19677.
git-svn-id: http://svn.redmine.org/redmine/trunk@19687 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a2434ed73b
commit
62c7da1b3f
@ -50,7 +50,7 @@ class TimeEntry < ActiveRecord::Base
|
|||||||
validates_length_of :comments, :maximum => 1024, :allow_nil => true
|
validates_length_of :comments, :maximum => 1024, :allow_nil => true
|
||||||
validates :spent_on, :date => true
|
validates :spent_on, :date => true
|
||||||
before_validation :set_project_if_nil
|
before_validation :set_project_if_nil
|
||||||
#TODO: remove this, author should be always explicitly set
|
# TODO: remove this, author should be always explicitly set
|
||||||
before_validation :set_author_if_nil
|
before_validation :set_author_if_nil
|
||||||
validate :validate_time_entry
|
validate :validate_time_entry
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user