We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b44b264 + 51389d2 commit 556f556Copy full SHA for 556f556
src/controllers/DemoController.php
@@ -0,0 +1,17 @@
1
+<?php namespace Unisharp\Laravelfilemanager\controllers;
2
+
3
+/**
4
+ * Class DemoController
5
+ * @package Unisharp\Laravelfilemanager\controllers
6
+ */
7
+class DemoController extends LfmController
8
+{
9
10
+ /**
11
+ * @return mixed
12
13
+ public function index()
14
+ {
15
+ return view('laravel-filemanager::demo');
16
+ }
17
+}
src/routes.php
@@ -77,7 +77,5 @@
77
'as' => 'getDelete'
78
]);
79
80
- Route::get('/demo', function () {
81
- return view('laravel-filemanager::demo');
82
- });
+ Route::get('/demo', 'DemoController@index');
83
});
0 commit comments