-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathroutes.php
More file actions
executable file
·26 lines (22 loc) · 912 Bytes
/
routes.php
File metadata and controls
executable file
·26 lines (22 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
// Route::get('/', function () {
// return view('welcome');
// })->middleware(['Authenticate']);
Route::resource('users', 'demeterUserController');
Route::resource('vms', 'vmController');
Route::resource('instances', 'instanceController');
Route::resource('instanceUsers', 'instanceUserController');
Route::get('checkLogin', 'checkLogin@index');
Route::post('backup', 'instanceController@backup');
Route::post('addUser', 'instanceController@addUser');
Route::post('removeUser', 'instanceController@removeUser');