Changed authorize to authorize_user!
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class SessionsController < ApplicationController
|
||||
skip_before_action :authenticate, only: %i[ new create ]
|
||||
|
||||
skip_before_action :authenticate_user!, only: %i[ new create ]
|
||||
before_action :set_session, only: :destroy
|
||||
|
||||
def index
|
||||
|
||||
Reference in New Issue
Block a user