Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Joosten authored and Tim Joosten committed Mar 27, 2018
1 parent 719c793 commit 549b8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Backend/CalendarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CalendarController extends Controller
*/
public function __construct(CalendarRepository $calendarRepository, EventsRepository $eventRepository)
{
$this->middleware(['role:admin', 'forbid-banned-user']);
$this->middleware(['auth', 'role:admin', 'forbid-banned-user']);

$this->eventRepository = $eventRepository;
$this->calendarRepository = $calendarRepository;
Expand Down

0 comments on commit 549b8a4

Please sign in to comment.