PHP Classes

File: config/routes.php

Recommend this page to a friend!
  Classes of Rogério Taques   PHP RESTful API Framework Kit   config/routes.php   Download  
File: config/routes.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP RESTful API Framework Kit
MVC framework to implement REST APIs
Author: By
Last change:
Date: 7 years ago
Size: 630 bytes
 

Contents

Class file image Download
<?php

 
/* --------------------------------------------------------
 | PHP API KIT
 | @author Rogerio Taques (rogerio.taques@gmail.com)
 | @version 0.1
 | @license MIT
 | @see http://github.com/rogeriotaques/php-api-kit
 |
 | Special routes that are gonna be used by Seed PHP to
 | load the right controller and method according to given URI.
 |
 | e.g:
 | $routes['your/special/route'] = 'existing/route';
 | $routes['(regular|expression)/is/allowed'] = 'existing/route/$1';
 * -------------------------------------------------------- */

$routes = []; // PLEASE DO NOT REMOVE THIS LINE

$routes['welcome'] = 'index/welcome';