From d7507092502eb98fc82f9d9649e1a12f0127e1c9 Mon Sep 17 00:00:00 2001 From: Eden Rohatensky Date: Mon, 26 Mar 2018 18:30:25 -0400 Subject: [PATCH] Use before_action instead of before_filter --- guides/bug_report_templates/integration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/bug_report_templates/integration_test.rb b/guides/bug_report_templates/integration_test.rb index b3eecd22..08b34017 100644 --- a/guides/bug_report_templates/integration_test.rb +++ b/guides/bug_report_templates/integration_test.rb @@ -76,7 +76,7 @@ end class TestController < ApplicationController include Rails.application.routes.url_helpers - before_filter :authenticate_user! + before_action :authenticate_user! def index render plain: 'Home'