Remove dead code
This commit is contained in:
parent
1a41a068ec
commit
df7e0a9881
17 changed files with 2 additions and 317 deletions
|
@ -90,13 +90,6 @@ module ApplicationHelper
|
|||
end
|
||||
end
|
||||
|
||||
def ensure_safe_json(json)
|
||||
json.present? ? JSON.parse(json).to_json : '[]'
|
||||
rescue Exception => e
|
||||
Raven.capture_exception(e)
|
||||
{}
|
||||
end
|
||||
|
||||
def sentry_config
|
||||
sentry = Rails.application.secrets.sentry
|
||||
if sentry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue