Created
September 19, 2016 15:43
-
-
Save anonymous/0212da9b0ecc5aa9d1d3dcdda81f2392 to your computer and use it in GitHub Desktop.
CRUD com AngularJS e CodeIgniter - routes.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
$route['default_controller'] = 'welcome'; | |
$route['404_override'] = ''; | |
$route['translate_uri_dashes'] = FALSE; | |
$route['templates/(:any)'] = "templates/view/$1"; | |
$route['notas'] = "Notas/index"; | |
$route['notasCreate']['post'] = "Notas/store"; | |
$route['notasEdit/(:any)'] = "Notas/edit/$1"; | |
$route['notasUpdate/(:any)']['put'] = "Notas/update/$1"; | |
$route['notasDelete/(:any)']['delete'] = "Notas/delete/$1"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment