added auth to party and friend
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
class PartiesController < ApplicationController
|
||||
before_action :set_party, only: %i[ show edit update destroy ]
|
||||
http_basic_authenticate_with name: "admin", password: "passwort", only: %i[edit update create new destroy show toggle_attendent]
|
||||
|
||||
def index
|
||||
@parties = Party.all
|
||||
|
||||
Reference in New Issue
Block a user