File: aksara/Modules/Assets/Config/Routes.php

Recommend this page to a friend!
  Classes of Aby Dahana  >  Aksara  >  aksara/Modules/Assets/Config/Routes.php  >  Download  
File: aksara/Modules/Assets/Config/Routes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Add the validation and new assets
Date: 4 months ago
Size: 733 bytes
 

Contents

Class file image Download
<?php namespace Aksara\Modules\Assets\Config;
/**
 * Extra route of current module
 *
 * @author Aby Dahana
 * @profile abydahana.github.io
 * @website www.aksaracms.com
 * @since version 4.0.0
 * @copyright (c) 2021 - Aksara Laboratory
 */

$routes->group('assets', ['namespace' => '\Aksara\Modules\Assets\Controllers'], function($routes)
{
   
$routes->get('css/styles.min.css', 'Assets::styles');
   
$routes->get('js/scripts.min.js', 'Assets::scripts');
   
   
$routes->get('svg/map_marker.svg', 'Svg::map_marker');
   
$routes->get('svg/polygon.svg', 'Svg::polygon');
   
$routes->get('svg/linestring.svg', 'Svg::linestring');
   
$routes->get('svg/folder.svg', 'Svg::folder');
   
$routes->get('svg/back_arrow.svg', 'Svg::back_arrow');
});

For more information send a message to info at phpclasses dot org.