Project

General

Profile

Defect #35066 » timelog_controller.diff

Jérôme BATAILLE, 2021-04-10 00:09

View differences:

app/controllers/timelog_controller.rb
121 121
              :back_url => params[:back_url]
122 122
            }
123 123
            if params[:project_id] && @time_entry.project
124
              options[:time_entry][:project_id] ||= @time_entry.project.id
124 125
              redirect_to new_project_time_entry_path(@time_entry.project, options)
125 126
            elsif params[:issue_id] && @time_entry.issue
126 127
              redirect_to new_issue_time_entry_path(@time_entry.issue, options)
(3-3/4)