diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-04-18 12:37:50 -0400 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-04-18 12:37:50 -0400 |
commit | 001fe515cfeb0e4853c1f053d97b579880bde90d (patch) | |
tree | eaf224fb32ed3b3717888e4b4c400ebfe302fe16 /app | |
parent | 5f98fdcdc9bca5b33220a1bb2b6ded32606271ff (diff) | |
download | gitlab-ce-001fe515cfeb0e4853c1f053d97b579880bde90d.tar.gz |
Make unminified Raven available.
Use the correct sentry dsn.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/application.js.coffee | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee index ab2432e1389..a98721e56bd 100644 --- a/app/assets/javascripts/application.js.coffee +++ b/app/assets/javascripts/application.js.coffee @@ -55,6 +55,7 @@ #= require_tree . #= require fuzzaldrin-plus #= require cropper +#= require raven window.slugify = (text) -> text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase() @@ -295,6 +296,6 @@ $ -> checkInitialSidebarSize() new Aside() - + if gon.sentry_dsn? - Raven.config('your public dsn').install()
\ No newline at end of file + Raven.config(gon.sentry_dsn).install()
\ No newline at end of file |