Update browser gem
`modern?` method was removed in version 4
This commit is contained in:
parent
6d703c0bd0
commit
ae2cfdd44e
6 changed files with 24 additions and 12 deletions
|
@ -233,7 +233,7 @@ class ApplicationController < ActionController::Base
|
|||
key: sentry[:client_key],
|
||||
enabled: sentry[:enabled],
|
||||
environment: sentry[:environment],
|
||||
browser: { modern: browser.modern? },
|
||||
browser: { modern: BrowserSupport.supported?(browser) },
|
||||
user: sentry_user
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue