Skip to content

Commit 4c803a2

Browse files
authored
Merge pull request rails#55227 from fabricerenard12/55215_name_error_health_controller
Fix 55215 test failure
2 parents 3a84d8c + 7b680f8 commit 4c803a2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

railties/lib/rails/application_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require "action_controller"
4+
35
class Rails::ApplicationController < ActionController::Base # :nodoc:
46
prepend_view_path File.expand_path("templates", __dir__)
57
layout "application"

railties/lib/rails/health_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require "action_controller"
4+
35
module Rails
46
# Built-in Health Check Endpoint
57
#

0 commit comments

Comments
 (0)