mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
fix source indent of app/models/changeset.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20021 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -253,13 +253,14 @@ class Changeset < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def log_time(issue, hours)
|
||||
time_entry = TimeEntry.new(
|
||||
:user => user,
|
||||
:hours => hours,
|
||||
:issue => issue,
|
||||
:spent_on => commit_date,
|
||||
:comments => l(:text_time_logged_by_changeset, :value => text_tag(issue.project),
|
||||
:locale => Setting.default_language)
|
||||
time_entry =
|
||||
TimeEntry.new(
|
||||
:user => user,
|
||||
:hours => hours,
|
||||
:issue => issue,
|
||||
:spent_on => commit_date,
|
||||
:comments => l(:text_time_logged_by_changeset, :value => text_tag(issue.project),
|
||||
:locale => Setting.default_language)
|
||||
)
|
||||
if activity = issue.project.commit_logtime_activity
|
||||
time_entry.activity = activity
|
||||
|
||||
Reference in New Issue
Block a user