mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-20 18:42:03 +00:00
remove spaces inside {} of app/models/time_entry.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20407 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5b4a8087ba
commit
7e3a61ef52
@ -45,7 +45,7 @@ class TimeEntry < ActiveRecord::Base
|
||||
)
|
||||
acts_as_activity_provider :timestamp => "#{table_name}.created_on",
|
||||
:author_key => :user_id,
|
||||
:scope => proc { joins(:project).preload(:project) }
|
||||
:scope => proc {joins(:project).preload(:project)}
|
||||
|
||||
validates_presence_of :author_id, :user_id, :activity_id, :project_id, :hours, :spent_on
|
||||
validates_presence_of :issue_id, :if => lambda {Setting.timelog_required_fields.include?('issue_id')}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user