@@ -59,7 +59,7 class ContextMenusController < ApplicationController | |||
|
59 | 59 | end |
|
60 | 60 | |
|
61 | 61 | def time_entries |
|
62 | @time_entries = TimeEntry.where(:id => params[:ids]).preload(:project).to_a | |
|
62 | @time_entries = TimeEntry.where(:id => params[:ids]).preload(:project, :user).to_a | |
|
63 | 63 | (render_404; return) unless @time_entries.present? |
|
64 | 64 | if (@time_entries.size == 1) |
|
65 | 65 | @time_entry = @time_entries.first |
General Comments 0
You need to be logged in to leave comments.
Login now