Components can now be re-ordered, closes #165
This commit is contained in:
@@ -9,7 +9,7 @@ class DashComponentController extends Controller
|
||||
*/
|
||||
public function showComponents()
|
||||
{
|
||||
$components = Component::all();
|
||||
$components = Component::orderBy('order')->orderBy('created_at')->get();
|
||||
|
||||
return View::make('dashboard.components.index')->with([
|
||||
'pageTitle' => 'Components - Dashboard',
|
||||
|
||||
Reference in New Issue
Block a user