mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
more logging, add referer
This commit is contained in:
parent
bb10697c50
commit
7ee11b0508
@ -36,7 +36,12 @@ class EmbedController < ApplicationController
|
||||
end
|
||||
|
||||
elsif embed_url.present?
|
||||
Jobs.enqueue(:retrieve_topic, user_id: current_user.try(:id), embed_url: embed_url, author_username: embed_username)
|
||||
Jobs.enqueue(:retrieve_topic,
|
||||
user_id: current_user.try(:id),
|
||||
embed_url: embed_url,
|
||||
author_username: embed_username,
|
||||
referer: request.env['HTTP_REFERER']
|
||||
)
|
||||
render 'loading'
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user