The users/index.blade.php
view should extend the layout/users.blade.php
view, because it has to know where to inject itself!
The first few lines of users/index.blade.php
should look more like...
@extends('layouts.users')
@section('main')
<h1>All Users</h1>
<p>{{ link_to_route('users.create', 'Add new user')}}</p>
// ...
If this doesn't solve the issue, let us know!
DrPrez: Thanks that will help alot
jlaswell: Yep that worked. Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community