From 991db2bab037482daef4efbd9728168ab49951c1 Mon Sep 17 00:00:00 2001 From: frederikpyt Date: Thu, 30 Jul 2020 14:51:23 +0200 Subject: [PATCH] Fixed bugs --- skolehjem/database/seeds/RoleSeeder.php | 1 + .../views/app/feedbacks/{index.blade.php => create.blade.php} | 0 2 files changed, 1 insertion(+) rename skolehjem/resources/views/app/feedbacks/{index.blade.php => create.blade.php} (100%) diff --git a/skolehjem/database/seeds/RoleSeeder.php b/skolehjem/database/seeds/RoleSeeder.php index 4d90468..fe5fae7 100644 --- a/skolehjem/database/seeds/RoleSeeder.php +++ b/skolehjem/database/seeds/RoleSeeder.php @@ -44,6 +44,7 @@ class RoleSeeder extends Seeder $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "link.external.list")->first()); $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "contact.list")->first()); $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "feedback.create")->first()); + $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "feedback.")->first()); $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "menuplan.list")->first()); $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "washing.machine.reservation.create")->first()); $brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "washing.machine.reservation.delete")->first()); diff --git a/skolehjem/resources/views/app/feedbacks/index.blade.php b/skolehjem/resources/views/app/feedbacks/create.blade.php similarity index 100% rename from skolehjem/resources/views/app/feedbacks/index.blade.php rename to skolehjem/resources/views/app/feedbacks/create.blade.php