Use before_action instead of before_filter

This commit is contained in:
Eden Rohatensky 2018-03-26 18:30:25 -04:00 committed by Leonardo Tegon
parent c9a2d0654e
commit d750709250
1 changed files with 1 additions and 1 deletions

View File

@ -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'