mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 18:59:09 -04:00
43 lines
835 B
PHP
43 lines
835 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use \App\Notifications\mail;
|
|
use \App\Notifications\sms;
|
|
use \App\Notifications\Alert;
|
|
use \App\Log;
|
|
use \App\Schedule;
|
|
use \App\Local;
|
|
use \App\User;
|
|
use Carbon\Carbon;
|
|
|
|
|
|
class CalendarController extends Controller
|
|
{
|
|
/**
|
|
* Create a new controller instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth', ['except' => ['generate','load','delete']]);
|
|
}
|
|
|
|
/**
|
|
* Show the application dashboard.
|
|
*
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function index()
|
|
{
|
|
return view('admin.calendar.calendar_display');
|
|
}
|
|
|
|
public function indexTable()
|
|
{
|
|
return view('admin.schedule.table.index',['events' => \App\Event::allThisYear()]);
|
|
}
|
|
}
|