feat(traitement): add browser information
This commit is contained in:
parent
92aab8e102
commit
d93c624164
10 changed files with 56 additions and 14 deletions
|
@ -3,6 +3,10 @@ class API::V2::BaseController < ApplicationController
|
|||
skip_before_action :setup_tracking
|
||||
before_action :authenticate_from_token
|
||||
|
||||
before_action do
|
||||
Current.browser = 'api'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue