@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $role->givePermissionTo($request->permission_names); |
| 43 | 43 | |
| 44 | 44 | return redirect()->route('chief.back.roles.index') |
| 45 | - ->with('messages.success', 'Rol '. $role->name.' is toegevoegd.'); |
|
| 45 | + ->with('messages.success', 'Rol '. $role->name.' is toegevoegd.'); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | public function edit($id) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | protected function unauthorized($request, AuthorizationException $exception) |
| 62 | 62 | { |
| 63 | 63 | return redirect()->route('chief.back.dashboard') |
| 64 | - ->with('messages.error', 'Oeps. Het lijkt erop dat je geen toegang hebt tot dit deel van chief. Vraag even de beheerder voor meer info.'); |
|
| 64 | + ->with('messages.error', 'Oeps. Het lijkt erop dat je geen toegang hebt tot dit deel van chief. Vraag even de beheerder voor meer info.'); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | public function scopeCollection($query, string $collection = null) |
| 59 | 59 | { |
| 60 | 60 | return $query->withoutGlobalScope(PageCollectionScope::class) |
| 61 | - ->where('collection', '=', $collection); |
|
| 61 | + ->where('collection', '=', $collection); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |