<?php
namespace App\Http\Controllers; use Illuminate\Http\Request; class SerieController extends Controller
{ public function index (){ $series = [ 'Grey's anatomy', 'Agents of shield', 'American horror story' ];
return view (view: 'series.index', compact (varname:'series'));
}}