Compare commits
No commits in common. "d8b3f613e30d08aeaf8c94d7ca7e0cabdfb4c259" and "0ed4e8f21656c4dcee9ce58e9e3534670efe26c6" have entirely different histories.
d8b3f613e3
...
0ed4e8f216
2 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ class ApplicationController < ActionController::Base
|
||||||
rescue_from AccessDenied, :with => :on_access_denied
|
rescue_from AccessDenied, :with => :on_access_denied
|
||||||
|
|
||||||
def on_access_denied
|
def on_access_denied
|
||||||
render file: 'public/403.html', layout: false, status: :forbidden
|
render template: 'public/403.html', :layout => false, :status => :forbidden
|
||||||
end
|
end
|
||||||
|
|
||||||
def redirect_back!(default=:back)
|
def redirect_back!(default=:back)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Sentry.init do |config|
|
Sentry.init do |config|
|
||||||
config.dsn = 'https://2d3c5b739af149a0b3beb86a4d498e1f@health.openneo.net/1'
|
config.dsn = 'https://cb4b3f56c1ec50ba0667b189617446bb@o506079.ingest.sentry.io/4506180803559424'
|
||||||
config.breadcrumbs_logger = [:active_support_logger, :http_logger]
|
config.breadcrumbs_logger = [:active_support_logger, :http_logger]
|
||||||
config.traces_sample_rate = 0.05
|
config.traces_sample_rate = 0.2
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue