Commit f12c62cf by rizky

route web.php

parent 67823f2a
...@@ -358,7 +358,8 @@ ...@@ -358,7 +358,8 @@
<!-- Plugin JavaScript --> <!-- Plugin JavaScript -->
<script src="{{asset('https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')}}"></script> <script src="{{asset('https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')}}"></script>
<script src="{{asset('vendor/scrollreveal/scrollreveal.min.js')}}"></script> <script src="{{asset('vendor/scrollreveal/scrollreveal.min.js')}}"></script>
<script src="{{asset('vendor/magnific-popup/jquery.magnific-popup.min.js')}}"></script> <script src="{{asset
('vendor/magnific-popup/jquery.magnific-popup.min.js')}}"></script>
<!-- Theme JavaScript --> <!-- Theme JavaScript -->
<script src="{{asset('js/creative.min.js')}}"></script> <script src="{{asset('js/creative.min.js')}}"></script>
......
...@@ -20,7 +20,7 @@ Route::post('/logout', 'LoginController@logout'); ...@@ -20,7 +20,7 @@ Route::post('/logout', 'LoginController@logout');
Route::group(['middleware' => 'manager'], function() Route::group(['middleware' => 'manager'], function()
{ {
Route::get('/manager', 'ManagerController@index'); Route::get('/manager', 'ManagerController@index');
Route::get('/', 'ManagerController@index'); // Route::get('/', 'ManagerController@index');
Route::get('/penjualan', 'ManagerController@penjualan'); Route::get('/penjualan', 'ManagerController@penjualan');
Route::get('/viewpengunjung', 'ManagerController@pengunjung'); Route::get('/viewpengunjung', 'ManagerController@pengunjung');
Route::get('/viewfeedback', 'ManagerController@viewFeedback'); Route::get('/viewfeedback', 'ManagerController@viewFeedback');
...@@ -29,7 +29,7 @@ Route::group(['middleware' => 'manager'], function() ...@@ -29,7 +29,7 @@ Route::group(['middleware' => 'manager'], function()
Route::group(['middleware' => 'staff'], function () Route::group(['middleware' => 'staff'], function ()
{ {
Route::get('/staff', 'StaffController@index'); Route::get('/staff', 'StaffController@index');
Route::get('/', 'StaffController@index'); // Route::get('/', 'StaffController@index');
// Route::resource('/ticket', 'TicketController'); // Route::resource('/ticket', 'TicketController');
Route::get('/pemesanan', 'TicketController@datapesanan'); Route::get('/pemesanan', 'TicketController@datapesanan');
Route::get('/lunas/{id}','TicketController@lunas'); Route::get('/lunas/{id}','TicketController@lunas');
...@@ -42,7 +42,7 @@ Route::group(['middleware' => 'staff'], function () ...@@ -42,7 +42,7 @@ Route::group(['middleware' => 'staff'], function ()
Route::group(['middleware' => 'customer'], function () Route::group(['middleware' => 'customer'], function ()
{ {
Route::get('/customer', 'CustomerController@index'); Route::get('/customer', 'CustomerController@index');
Route::get('/', 'CustomerController@index'); // Route::get('/', 'CustomerController@index');
Route::resource('/ticket', 'TicketController'); Route::resource('/ticket', 'TicketController');
Route::get('/ticket/beli/{id}','TicketController@beli'); Route::get('/ticket/beli/{id}','TicketController@beli');
Route::post('/ticket/beli','TicketController@storeorder'); Route::post('/ticket/beli','TicketController@storeorder');
...@@ -54,5 +54,4 @@ Route::group(['middleware' => 'customer'], function () ...@@ -54,5 +54,4 @@ Route::group(['middleware' => 'customer'], function ()
Route::get('/data_konfirmasi','TicketController@datakonfirmasi'); Route::get('/data_konfirmasi','TicketController@datakonfirmasi');
Route::get('/feedback', 'CustomerController@feedbackIndex'); Route::get('/feedback', 'CustomerController@feedbackIndex');
Route::post('/feedback/create', 'CustomerController@createFeedback'); Route::post('/feedback/create', 'CustomerController@createFeedback');
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment