<?php
defined('BASEPATH') or exit('No direct script access allowed');

// General Routes
$route['home'] = 'Pages/index';
$route['registerSreq'] = 'Sreq/register';
$route['registerInstaller'] = 'Installer/register';
$route['login'] = 'Auth/login';
$route['getUserBio'] = 'Auth/getUserBio';
$route['verify'] = 'Pages/verify';
$route['activate/(:any)/(:any)'] = 'Pages/activate/$1/$2';
$route['dashboard'] = 'Pages/dashboard';
$route['buy'] = 'Pages/buy';
$route['order_success'] = 'Pages/order_success';
$route['success'] = 'Pages/success';
$route['forgot_password'] = 'Pages/forgot_password';
$route['sell'] = 'Pages/sell';
$route['success_verify'] = 'Pages/success_verify';
$route['logout'] = 'Pages/logout';
$route['makeFav'] = 'Pages/makeFav';
$route['blog'] = 'Pages/blog';

// User Routes
$route['users/user_reg/(:any)'] = 'UserController/user_reg/$1';
$route['view_event/(:any)/(:any)'] = 'DashboardController/view_event/$1/$2';
$route['add_task'] = 'DashboardController/add_task';

$route['default_controller'] = 'Pages/index';

// $route['categories'] = 'categories/index';
// $route['categories/create'] = 'categories/create';
// $route['categories/posts/(:any)'] = 'categories/posts/$1';

$route['(:any)'] = 'Pages/index';
$route['404_override'] = '';
$route['translate_uri_dashes'] = false;
