mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section
This commit is contained in:
@@ -370,7 +370,8 @@ class TopicsController < ApplicationController
|
||||
current_user,
|
||||
params[:topic_id].to_i,
|
||||
params[:topic_time].to_i,
|
||||
(params[:timings] || []).map{|post_number, t| [post_number.to_i, t.to_i]}
|
||||
(params[:timings] || []).map{|post_number, t| [post_number.to_i, t.to_i]},
|
||||
{mobile: view_context.mobile_view?}
|
||||
)
|
||||
render nothing: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user