110 - Asserting Against View Objects

This commit is contained in:
Adam Wathan
2017-06-06 14:49:48 -04:00
parent 393f9a0a1d
commit eaef0be875
4 changed files with 48 additions and 0 deletions

View File

@@ -10,6 +10,11 @@ use Illuminate\Support\Facades\Auth;
class ConcertsController extends Controller
{
public function index()
{
return view('backstage.concerts.index', ['concerts' => Concert::all()]);
}
public function create()
{
return view('backstage.concerts.create');