12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
- //use Illuminate\Support\Facades\Route;
- Route::get('/', function () {
- return view('welcome');
- });
- //
- //Route::get("basic", function () {
- // echo ("halo");
- // return "halo";
- //});
- //
- //Route::get("a", function () {
- // return "halo";
- //});
- Route::get("addUser", "UserController@AddUser");
- Route::get("delUser", "UserController@DelUser");
- Route::get("grantPrivilege", "PermissionController@GrantPrivilege");
- // action bar
- Route::get("addActionBar", "ActionBarController@AddActionBar");
- Route::get("modifyActionBar", "ActionBarController@ModifyActionBar");
- Route::get("deleteActionBar", "ActionBarController@DeleteActionBar");
- Route::get("loadActionBar", "ActionBarController@LoadActionBar");
|