Only show components section if we have some
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
* @return View
|
||||
*/
|
||||
public function showIndex() {
|
||||
return View::make('index');
|
||||
return View::make('index', ['components' => Component::all()]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user