v1.5.23 added when a multi or just a event is achieve remove it from index pages

This commit is contained in:
2021-05-10 12:17:48 +02:00
parent 322dbaf31e
commit 3908a6b00c
8 changed files with 53 additions and 50 deletions
@@ -35,7 +35,6 @@ class EventController extends Controller
public function index(Request $request)
{
$events = Event::query()->orderBY('date' , 'asc')->get();
//returns the function with events index page and a parameter of events.
//also Response::detect checks screen size to determine if user is on a computer or mobile.
return Response::detect("events.index", [ "events" => $events]);