summaryrefslogtreecommitdiff
path: root/site/app
diff options
context:
space:
mode:
authorhorus2018-02-12 22:45:26 +0100
committerhorus2018-02-12 22:45:26 +0100
commit88e99fa3be2954da7ab3775aad10ee9391d32bf9 (patch)
treeae750f2003e1da5c8c8ee2fab6aea3767ff8f200 /site/app
parentb1276dacbcf52c0e729794a4e583549addd2db4a (diff)
downloadalkobote-88e99fa3be2954da7ab3775aad10ee9391d32bf9.tar.gz
Bugfix in IndexController.
Diffstat (limited to 'site/app')
-rw-r--r--site/app/Http/Controllers/IndexController.php2
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]);
}
}