PHP Classes

File: src/stubs/cms/core/configurations/adminroutes.php

Recommend this page to a friend!
  Classes of Shun Ram   Laravel Admin   src/stubs/cms/core/configurations/adminroutes.php   Download  
File: src/stubs/cms/core/configurations/adminroutes.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: 888 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Support\Facades\Route;

Route::group(['prefix' => 'configurations'], function () {
   
/*
     * module configurations
     */
   
Route::get('module/{module_id}', 'ConfigurationsController@module')->name('admin_module_configuration');
   
Route::post('moduleconfigsave', 'ConfigurationsController@moduleSave')->name('admin_module_configuration_save');
   
/*
     * site configurations
     */
   
Route::get('site', 'ConfigurationsController@site')->name('admin_site_configuration');
   
Route::post('siteconfigsave', 'ConfigurationsController@sitesave')->name('admin_site_configuration_save');
   
/*
     * mail configurations
     */
   
Route::get('mail', 'ConfigurationsController@mail')->name('admin_mail_configuration');
   
Route::post('mailconfigsave', 'ConfigurationsController@mailsave')->name('admin_mail_configuration_save');
});