diff options
| author | horus | 2018-02-12 22:45:26 +0100 |
|---|---|---|
| committer | horus | 2018-02-12 22:45:26 +0100 |
| commit | 88e99fa3be2954da7ab3775aad10ee9391d32bf9 (patch) | |
| tree | ae750f2003e1da5c8c8ee2fab6aea3767ff8f200 /site/app | |
| parent | b1276dacbcf52c0e729794a4e583549addd2db4a (diff) | |
| download | alkobote-88e99fa3be2954da7ab3775aad10ee9391d32bf9.tar.gz | |
Bugfix in IndexController.
Diffstat (limited to 'site/app')
| -rw-r--r-- | site/app/Http/Controllers/IndexController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/Http/Controllers/IndexController.php b/site/app/Http/Controllers/IndexController.php index d175388..d734ca9 100644 --- a/site/app/Http/Controllers/IndexController.php +++ b/site/app/Http/Controllers/IndexController.php @@ -28,6 +28,6 @@ class IndexController extends Controller { $data = DB::select($query); #$data = DB::table('whisky_view')->orderBy('procent', 'DESC')->limit(100)->simplePaginate(20); - return view('index', ['data' => $data]); + return view('index', ['data' => $data, 'views' => $views]); } } |
