Skip to content

Commit

Permalink
Use before_action instead of before_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
edenthecat authored and tegon committed Mar 28, 2018
1 parent c9a2d06 commit d750709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/bug_report_templates/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ApplicationController < ActionController::Base
class TestController < ApplicationController
include Rails.application.routes.url_helpers

before_filter :authenticate_user!
before_action :authenticate_user!

def index
render plain: 'Home'
Expand Down

0 comments on commit d750709

Please sign in to comment.