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';
|
2024-07-15 12:22:02 +00:00
|
|
|
$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-16 19:20:43 +00:00
|
|
|
$route['edit_form/(:num)'] = 'Forms/edit_form/$1';
|
2024-07-15 12:22:02 +00:00
|
|
|
|
2024-07-17 02:27:24 +00:00
|
|
|
$route['responses/index/(:num)'] = 'Responses/index/$1';
|
|
|
|
|
2024-07-11 13:04:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
//Routes of the pages controller
|
2024-07-19 11:43:09 +00:00
|
|
|
$route['hero'] = 'Pages/hero';
|
2024-07-11 13:04:55 +00:00
|
|
|
$route['default_controller'] = 'Pages/view';
|
|
|
|
$route['404_override'] = '';
|
|
|
|
$route['translate_uri_dashes'] = FALSE;
|
|
|
|
$route['pages'] = 'Pages/view';
|
|
|
|
$route['(:any)'] = 'Pages/view/$1';
|