<?php
defined("BASEPATH") OR exit("No direct script access allowed");

$route["default_controller"] = "UserController/getLockView";
$route["404_override"] = "";
$route["translate_uri_dashes"] = FALSE;


$route["test"] = "TestController/index";

/* ------------------------------------ USER ROUTES ------------------------------------ */

$route["lock/auth"]["get"]		=	"UserController/getLockView";

$route["lock/auth"]["post"]		=	"UserController/getLockAuth";

$route["out"]["get"]			=	"UserController/out";

/* ------------------------------------ USER ROUTES OVER ------------------------------- */



/* ------------------------------------ PURCHASE ROUTES ------------------------------------ */

$route["patron/purchase"]					=	"PurchaseController/index";

$route["patron/purchase/add"]["post"]		=	"PurchaseController/addPurchase";

$route["patron/purchase/edit"]["post"]		=	"PurchaseController/editPurchase";

$route["patron/purchase/delete"]["get"]		=	"PurchaseController/deletePurchase";

/* ------------------------------------ PURCHASE ROUTES OVER ------------------------------- */



/* ------------------------------------ PARTY ROUTES ------------------------------------ */

$route["patron/party"]					=	"PartyController/index";

$route["patron/party/add"]["post"]		=	"PartyController/addParty";

$route["patron/party/edit"]["post"]		=	"PartyController/editParty";

$route["patron/party/delete"]["get"]	=	"PartyController/deleteParty";

/* ------------------------------------ PARTY ROUTES OVER ------------------------------------ */



/* ------------------------------------ PARTY REQUIREMENT ROUTES ------------------------------------ */

$route["patron/party/requirement/fetch"]["get"]		=	"PartyRequController/fetchRequirement";

$route["patron/party/requirement/add"]["post"]		=	"PartyRequController/addRequirement";

$route["patron/party/requirement/edit"]["post"]		=	"PartyRequController/editRequirement";

$route["patron/party/requirement/delete"]["get"]	=	"PartyRequController/deleteRequirement";

/* ------------------------------------ PARTY REQUIREMENT ROUTES OVER ------------------------------------ */