PHP Classes

File: src/stubs/cms/core/admin/routes.php

Recommend this page to a friend!
  Classes of Shun Ram   Laravel Admin   src/stubs/cms/core/admin/routes.php   Download  
File: src/stubs/cms/core/admin/routes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Admin
Manage users and the site content they publish
Author: By
Last change:
Date: 1 year ago
Size: 407 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Support\Facades\Route;

Route::group(['prefix' => 'administrator', 'middleware' => ['web'], 'namespace' => 'cms\core\admin\Controllers'], function () {
   
/*
     * backend login
     */
   
Route::get('login', 'AdminAuth@login')->name('backendlogin');
   
/*
     * do back end login
     */
   
Route::post('dologin', 'AdminAuth@dologin')->name('dobackendlogin');
});