Skip to content

Commit 96587fa

Browse files
committed
fix linting
1 parent 4f7814d commit 96587fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/controllers/sentry_test_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# This controller is for testing Sentry integration only. Do not enable in production.
24
class SentryTestController < ApplicationController
35
# GET /sentry_test/error

config/routes.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -597,10 +597,8 @@
597597
get "email/:key", to: "static#email", as: "email"
598598
get "english-language-guidance", to: "static#english_language_guidance"
599599

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?
604602

605603
root to: redirect("/eligibility")
606604
end

0 commit comments

Comments
 (0)