File: /var/www/html/nt/application/config/routes.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| https://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
| $route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'login';
$route['unauthorised_access'] = 'index/indexUnauthorised';
$route['login-signup'] = 'index/login_signup';
$route['getOTP'] = 'index/getOTP';
$route['validate_otp'] = 'index/validateOTP';
$route['signup'] = 'index/signup';
$route['login'] = 'index/login';
$route['logout'] = 'index/logout';
$route['submit-application-form'] = 'frontend/application/submitApplication';
$route['validate-razorpay-payment'] = 'frontend/application/validateRazorpayPayment';
$route['money-receipt/(:any)'] = 'frontend/application/generateMoneyReceipt/$1';
$route['download-money-receipt/(:any)'] = 'frontend/application/downloadMoneyReceipt/$1';
$route['allotmentDetail/(:any)'] = 'frontend/agreement/getAllotmentDetail/$1';
$route['downloadAllotmentMoneyReceiptPdf/(:any)'] = 'frontend/agreement/download_allotment_money_pdf/$1';
$route['downloadInvoicePdf/(:any)'] = 'frontend/agreement/download_invoice_pdf/$1';
$route['getPlotModule'] = 'admin/agreement/getPlotModuleParkWise';
$route['getPlotModuleDetails'] = 'admin/agreement/getPlotModuleDetails';
$route['getLesseeDetails'] = 'admin/agreement/getLesseeDetails';
$route['submitAllotment'] = 'admin/agreement/submitAllotmentData';
$route['addNewAgreement'] = 'admin/agreement/add';
$route['editAgreement/(:any)'] = 'admin/agreement/edit/$1';
$route['submitAgreement'] = 'admin/agreement/submitAgreementData';
$route['uploadFileAgreement/(:any)'] = 'admin/agreement/uploadAgreementFile/$1';
$route['submitAgreementFile'] = 'admin/agreement/agreement_file_submit';
$route['addExistingAgreement'] = 'admin/agreement/add_existing_agreement';
$route['submitExistingAgreement'] = 'admin/agreement/submit_existing_agreement';
$route['viewDemands/(:any)'] = 'admin/demand/view_demand/$1';
$route['publishDemand'] = 'admin/demand/publish_demand';
$route['bulkPublishInvoice'] = 'admin/demand/bulk_publish_demand';
$route['submitBulkDemand'] = 'admin/demand/submit_bulk_demand_for_publish';
$route['downloadAllotmentMoneyReceipt/(:any)'] = 'admin/demand/download_allotment_money/$1';
$route['downloadInvoice/(:any)'] = 'admin/demand/download_invoice/$1';
#----------------------------------------------
$route['application-payment-verify-cron'] = 'frontend/application/applicationPaymentVerifyCron';
$route['allotment-payment-verify-cron'] = 'frontend/agreement/allotmentPaymentVerifyCron';
$route['demand-payment-verify-cron'] = 'frontend/agreement/demandPaymentVerifyCron';
$route['demand-penalty-calculation-cron'] = 'index/calculate_demand_penalty_cron';
#----------------------------------------------
#----------------------------------------------
$route['about-us'] = 'frontend/pages/aboutUs';
$route['contact-us'] = 'frontend/pages/contactUs';
$route['privacy-policy'] = 'frontend/pages/privacyPolicy';
$route['refund-cancellation-policy'] = 'frontend/pages/refundCancelPolicy';
$route['terms-conditions'] = 'frontend/pages/termsCondition';
#----------------------------------------------
$route['dashboard'] = 'admin/dashboard';
$route['car'] = 'admin/car';
$route['editCar/(:any)'] = 'admin/car/edit/$1';
$route['addNewCar'] = 'admin/car/add';
$route['saveCarData'] = 'admin/car/saveCarData';
$route['updateCarData'] = 'admin/car/updateCarData';
$route['upload_daily_statement'] = 'admin/main/upload_daily_statement';
$route['transaction_file_upload'] = 'admin/main/transaction_file_upload';
$route['downloadFile/(:any)'] = 'admin/main/downloadFile/$1';
$route['uploaded_transactional_file_log'] = 'admin/main/uploaded_transactional_file_log';
$route['transaction_list'] = 'admin/main/transaction_list';
$route['transaction_search_report'] = 'admin/main/transaction_search_report';
$route['negative_transaction_list'] = 'admin/main/negative_transaction_list';
$route['settle_transaction_from_dashboard'] = 'admin/main/settle_transaction_from_dashboard';
$route['settled_transaction_history'] = 'admin/main/settled_transaction_history';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;