Merge pull request #20 from manavo/components

Only show components section if we have some
This commit is contained in:
James Brooks
2014-11-24 17:41:25 +00:00
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -6,6 +6,6 @@
* @return View
*/
public function showIndex() {
return View::make('index');
return View::make('index', ['components' => Component::all()]);
}
}