Some work on the category controller.

This commit is contained in:
James Cole
2014-07-30 07:14:00 +02:00
parent 8dcaaeade7
commit 04a9ada682
18 changed files with 167 additions and 73 deletions

View File

@@ -14,7 +14,7 @@ class EloquentCategoryRepository implements CategoryRepositoryInterface
*/
public function get()
{
return \Auth::user()->categories()->get();
return \Auth::user()->categories()->orderBy('name','ASC')->get();
}
/**