Skip to content

Commit bacd16b

Browse files
committed
Remove maintenance mode
1 parent 3da370c commit bacd16b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/controllers/application_controller.rb

-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ class ApplicationController < ActionController::Base
22
include SecurityHandling
33
include ErrorHandling
44

5-
before_action :maintenance_mode
6-
75
# This is required to get request attributes in to the production logs.
86
# See the various lograge configurations in `production.rb`.
97
def append_info_to_payload(payload)
@@ -51,8 +49,4 @@ def initialize_disclosure_check(attributes = {})
5149
session[:disclosure_check_id] = disclosure_check.id
5250
end
5351
end
54-
55-
def maintenance_mode
56-
render "errors/maintenance" if Rails.env.production?
57-
end
5852
end

0 commit comments

Comments
 (0)