Skip to content

Commit 6402eb6

Browse files
committed
Fix Rails 5 deprecation warning for skip_before_action
DEPRECATION WARNING: `skip_before_filter` is deprecated and will be removed in Rails 5.1. Use `skip_before_action` instead.
1 parent 2880683 commit 6402eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/dummy/app/controllers/welcome_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class WelcomeController < ApplicationController
2-
skip_before_filter :authenticate_user!, only: [:index]
2+
skip_before_action :authenticate_user!, only: [:index]
33

44
def index
55
end

0 commit comments

Comments
 (0)