Changed authorize to authorize_user!
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2024-08-25 21:26:35 +02:00
parent abe9267893
commit 0919a26686
7 changed files with 8 additions and 11 deletions

View File

@@ -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