Skip to content

Commit ccef46c

Browse files
committed
Fix DEPRECATION: Use before_action instead of before_filter
1 parent 2c234ec commit ccef46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
class SessionsController < ApplicationController
3-
before_filter :logged_in_user, only: [:destroy]
3+
before_action :logged_in_user, only: [:destroy]
44

55
def create
66
if valid_credentials?(params[:email], params[:password])

0 commit comments

Comments
 (0)