Remove dead code

This commit is contained in:
gregoirenovel 2018-12-18 22:48:56 +01:00
parent 1a41a068ec
commit df7e0a9881
17 changed files with 2 additions and 317 deletions

View file

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