Closed bolorino closed 10 years ago
Getting /admin/users route throws a FatalErrorException.
Route: /admin/users
FatalErrorException Class 'User' not found
Template: app/views/admin/users/list.blade.php
<h1>Showing all users ({{User::count()}})</h1>
Namespacing the class does work:
<h1>Showing all users ({{Tricks\User::count()}})</h1>
Thanks!
Woops, sorry about that! All fixed now :)
Thanks for catching that!
Getting /admin/users route throws a FatalErrorException.
Route: /admin/users
Template: app/views/admin/users/list.blade.php
Namespacing the class does work:
Thanks!