Show components in the dashboard index, in order
This commit is contained in:
@@ -24,7 +24,7 @@ class DashboardController extends AbstractController
|
|||||||
*/
|
*/
|
||||||
public function showDashboard()
|
public function showDashboard()
|
||||||
{
|
{
|
||||||
$components = Component::all();
|
$components = Component::orderBy('order')->get();
|
||||||
|
|
||||||
segment_page('Dashboard');
|
segment_page('Dashboard');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user