1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +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:
Go MAEDA 2020-04-11 07:53:51 +00:00
parent a2434ed73b
commit 62c7da1b3f

View File

@ -50,7 +50,7 @@ class TimeEntry < ActiveRecord::Base
validates_length_of :comments, :maximum => 1024, :allow_nil => true
validates :spent_on, :date => true
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
validate :validate_time_entry