mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Better error messages when topics can't load
This commit is contained in:
@ -129,12 +129,12 @@ class TopicsController < ApplicationController
|
||||
end
|
||||
|
||||
def timings
|
||||
|
||||
|
||||
PostTiming.process_timings(
|
||||
current_user,
|
||||
params[:topic_id].to_i,
|
||||
params[:highest_seen].to_i,
|
||||
params[:topic_time].to_i,
|
||||
current_user,
|
||||
params[:topic_id].to_i,
|
||||
params[:highest_seen].to_i,
|
||||
params[:topic_time].to_i,
|
||||
(params[:timings] || []).map{|post_number, t| [post_number.to_i, t.to_i]}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user