feat(traitement): add browser information

This commit is contained in:
Paul Chavard 2023-10-17 12:00:16 +02:00
parent 92aab8e102
commit d93c624164
10 changed files with 56 additions and 14 deletions

View file

@ -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