File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
# This controller is for testing Sentry integration only. Do not enable in production.
2
4
class SentryTestController < ApplicationController
3
5
# GET /sentry_test/error
Original file line number Diff line number Diff line change 597
597
get "email/:key" , to : "static#email" , as : "email"
598
598
get "english-language-guidance" , to : "static#english_language_guidance"
599
599
600
- # Sentry test route (do not enable in production)
601
- if !Rails . env . production?
602
- get "sentry_test/error" , to : "sentry_test#error"
603
- end
600
+ # Sentry test route (do not enable in production)
601
+ get "sentry_test/error" , to : "sentry_test#error" unless Rails . env . production?
604
602
605
603
root to : redirect ( "/eligibility" )
606
604
end
You can’t perform that action at this time.
0 commit comments