Skip to content

Instantly share code, notes, and snippets.

Created October 31, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/db2a0cb700fa6c08b6728c16572e5052 to your computer and use it in GitHub Desktop.
Save anonymous/db2a0cb700fa6c08b6728c16572e5052 to your computer and use it in GitHub Desktop.
Série RestServer - routes.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$route['default_controller'] = 'welcome';
$route['404_override'] = '';
$route['translate_uri_dashes'] = TRUE;
$route["api/usuarios"] = "api/Usuarios";
$route["api/usuarios/(:num)"] = "api/Usuarios";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment