CodeIgniter_Gforms/application/config/routes.php

20 lines
636 B
PHP
Raw Normal View History

2024-07-11 13:04:55 +00:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//Routes of the forms controller
2024-07-14 21:04:04 +00:00
$route['create'] = 'Forms/create';
$route['my_forms'] = 'Forms/my_forms';
$route['my_drafts'] = 'Forms/my_drafts';
$route['my_drafts'] = 'Forms/my_drafts/$1';
$route['forms/delete/(:num)'] = 'forms/delete_form/$1';
$route['forms/respond/(:num)'] = 'forms/respond/$1';
2024-07-16 03:00:23 +00:00
$route['responses'] = 'Forms/list_user_forms';
2024-07-11 13:04:55 +00:00
//Routes of the pages controller
$route['default_controller'] = 'Pages/view';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['pages'] = 'Pages/view';
$route['(:any)'] = 'Pages/view/$1';