@@ -232,7 +232,7 private | |||
|
232 | 232 | end |
|
233 | 233 | |
|
234 | 234 | def find_time_entries |
|
235 |
@time_entries = TimeEntry. |
|
|
235 | @time_entries = TimeEntry.where(:id => params[:id] || params[:ids]).all | |
|
236 | 236 | raise ActiveRecord::RecordNotFound if @time_entries.empty? |
|
237 | 237 | @projects = @time_entries.collect(&:project).compact.uniq |
|
238 | 238 | @project = @projects.first if @projects.size == 1 |
General Comments 0
You need to be logged in to leave comments.
Login now