upgrade(rails 5): change before_filter to before_action

This commit is contained in:
Joseph Mastey
2017-01-19 13:59:14 -06:00
parent 9281b19fd5
commit c310273606
8 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
class SessionsController < ApplicationController
skip_before_filter :has_info
skip_before_filter :authenticated, :only => [:new, :create]
skip_before_action :has_info
skip_before_action :authenticated, :only => [:new, :create]
def new
@url = params[:url]