Disable JS-Sentry in development
This commit is contained in:
@ -16,6 +16,7 @@ html lang='en'
|
|||||||
= yield(:head)
|
= yield(:head)
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= timeago_script_tag
|
= timeago_script_tag
|
||||||
|
- unless Raven.configuration.current_environment == "development"
|
||||||
script type="text/javascript"
|
script type="text/javascript"
|
||||||
| I18n.defaultLocale = "#{I18n.default_locale}";
|
| I18n.defaultLocale = "#{I18n.default_locale}";
|
||||||
| I18n.locale = "#{I18n.locale}";
|
| I18n.locale = "#{I18n.locale}";
|
||||||
|
Reference in New Issue
Block a user