aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/action_controller_master.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/bug_report_templates/action_controller_master.rb')
-rw-r--r--guides/bug_report_templates/action_controller_master.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/bug_report_templates/action_controller_master.rb b/guides/bug_report_templates/action_controller_master.rb
index 7644f6fe4a..3dd66c95ec 100644
--- a/guides/bug_report_templates/action_controller_master.rb
+++ b/guides/bug_report_templates/action_controller_master.rb
@@ -14,7 +14,7 @@ end
require "action_controller/railtie"
class TestApp < Rails::Application
- config.root = File.dirname(__FILE__)
+ config.root = __dir__
secrets.secret_token = "secret_token"
secrets.secret_key_base = "secret_key_base"