add user_agent to channels
This commit is contained in:
1 parent
a727752c94
commit
6ff22048b4
8 files changed
+51
-1
No files matched your search
@@ -265,6 +265,8 @@ class ChannelsController < ApplicationController
|
||||
entry_id = channel.next_entry_id
|
||||
channel.last_entry_id = entry_id
|
||||
feed.entry_id = entry_id
|
||||
# set user agent
|
||||
channel.user_agent = get_header_value('USER_AGENT')
|
||||
|
||||
# try to get created_at datetime if appropriate
|
||||
if params[:created_at].present?
|
||||
|
||||
Reference in new issue
Block a user