mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
more logging, add referer
This commit is contained in:
parent
bb10697c50
commit
7ee11b0508
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue