Changed authorize to authorize_user!
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class VehiclesController < ApplicationController
|
||||
before_action :set_vehicle, only: %i[ show edit update destroy ]
|
||||
skip_before_action :authenticate
|
||||
skip_before_action :authenticate_user!
|
||||
|
||||
# has_many_attached :images
|
||||
|
||||
|
||||
Reference in New Issue
Block a user