FEATURE #1450: add widget overview

This commit is contained in:
Michal Kváček
2016-02-15 12:25:56 +01:00
parent ccc2d918c9
commit 1d553d1a15
6 changed files with 170 additions and 8 deletions
@@ -0,0 +1,14 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Models\Widget;
class WidgetsOverview extends Controller
{
public function getOverview()
{
$widgets = Widget::paginate(25);
return view('admin.widgets.overview', ['widgets' => $widgets]);
}
}