<?php

use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;

/**
 * appProdUrlMatcher
 *
 * This class has been auto-generated
 * by the Symfony Routing Component.
 */
class appProdUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
    /**
     * Constructor.
     */
    public function __construct(RequestContext $context)
    {
        $this->context = $context;
    }

    public function match($pathinfo)
    {
        $allow = array();
        $pathinfo = rawurldecode($pathinfo);
        $context = $this->context;
        $request = $this->request;

        // vgm_user_homepage
        if (0 === strpos($pathinfo, '/hello') && preg_match('#^/hello/(?P<name>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_user_homepage')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\DefaultController::indexAction',));
        }

        if (0 === strpos($pathinfo, '/profile')) {
            // vgm_user_list
            if ($pathinfo === '/profile/list') {
                return array (  '_controller' => 'VGM\\UserBundle\\Controller\\VGMUserController::userListAction',  '_route' => 'vgm_user_list',);
            }

            // vgm_user_create
            if ($pathinfo === '/profile/create') {
                return array (  '_controller' => 'VGM\\UserBundle\\Controller\\VGMUserController::createAction',  '_route' => 'vgm_user_create',);
            }

            if (0 === strpos($pathinfo, '/profile/show')) {
                // vgm_show_profile
                if ($pathinfo === '/profile/show') {
                    return array (  '_controller' => 'FOS\\UserBundle\\Controller\\ProfileController::showAction',  '_route' => 'vgm_show_profile',);
                }

                // vgm_user_show_edit
                if (0 === strpos($pathinfo, '/profile/show-edit') && preg_match('#^/profile/show\\-edit/(?P<username>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_user_show_edit')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\VGMUserController::editAction',));
                }

            }

            // vgm_user_change_password
            if (0 === strpos($pathinfo, '/profile/reset-password') && preg_match('#^/profile/reset\\-password/(?P<username>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_user_change_password')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\VGMUserController::changePasswordAction',));
            }

        }

        // fos_groups_data
        if ($pathinfo === '/group/group_list/ajax/call') {
            return array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::getGrouplistAjaxAction',  '_route' => 'fos_groups_data',);
        }

        // homepage
        if (rtrim($pathinfo, '/') === '') {
            if (substr($pathinfo, -1) !== '/') {
                return $this->redirect($pathinfo.'/', 'homepage');
            }

            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::indexAction',  '_route' => 'homepage',);
        }

        // administration
        if ($pathinfo === '/administration') {
            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::administrationAction',  '_route' => 'administration',);
        }

        // mision
        if ($pathinfo === '/mission') {
            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::misionAction',  '_route' => 'mision',);
        }

        // about_us
        if ($pathinfo === '/about_us') {
            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::about_usAction',  '_route' => 'about_us',);
        }

        // contact_us
        if ($pathinfo === '/contact_us') {
            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::contact_usAction',  '_route' => 'contact_us',);
        }

        if (0 === strpos($pathinfo, '/ur')) {
            // workorders_consulting
            if (0 === strpos($pathinfo, '/ur/workorders') && preg_match('#^/ur/workorders(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_consulting')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::consultingIndexAction',  'page' => 1,));
            }

            // workorders_print_preview
            if (0 === strpos($pathinfo, '/ur/pp_workorder') && preg_match('#^/ur/pp_workorder/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_print_preview')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::showPrintPreviewAction',));
            }

            // workorders_get_all_status
            if ($pathinfo === '/ur/all_status_workorders/ajax') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::allStatusWorkOrdersAction',  '_route' => 'workorders_get_all_status',);
            }

            // export_wol2excel
            if ($pathinfo === '/ur/wol2excel') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportWorkOrdersList2XLSAction',  '_route' => 'export_wol2excel',);
            }

            // export_invl2excel
            if ($pathinfo === '/ur/invl2excel') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportInvoicesList2XLSAction',  '_route' => 'export_invl2excel',);
            }

        }

        if (0 === strpos($pathinfo, '/clockManager')) {
            // clockIN_clockOut
            if ($pathinfo === '/clockManager/register') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::clockAction',  '_route' => 'clockIN_clockOut',);
            }

            // manager_clockIN_clockOut
            if ($pathinfo === '/clockManager/manager') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\GeneralController::clockTempAction',  '_route' => 'manager_clockIN_clockOut',);
            }

            if (0 === strpos($pathinfo, '/clockManager/save-')) {
                // save_clock_controller_data
                if ($pathinfo === '/clockManager/save-data/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClockController::saveDataAjaxAction',  '_route' => 'save_clock_controller_data',);
                }

                // save_clock_controller_data_manager
                if ($pathinfo === '/clockManager/save-manager-data/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClockController::saveDataManagerAjaxAction',  '_route' => 'save_clock_controller_data_manager',);
                }

            }

            if (0 === strpos($pathinfo, '/clockManager/get_')) {
                // clockmanager_get_worker_by_code
                if ($pathinfo === '/clockManager/get_worker_by_code/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getWorkerByCodeAjaxAction',  '_route' => 'clockmanager_get_worker_by_code',);
                }

                // clockmanager_get_workorder_by_number
                if ($pathinfo === '/clockManager/get_by_number/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderByNoAjaxAction',  '_route' => 'clockmanager_get_workorder_by_number',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/units')) {
            // units
            if (0 === strpos($pathinfo, '/units/list') && preg_match('#^/units/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'units')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\CUnitController::indexAction',  'page' => 1,));
            }

            // unit_new
            if ($pathinfo === '/units/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\CUnitController::newAction',  '_route' => 'unit_new',);
            }

            // unit_create
            if ($pathinfo === '/units/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_unit_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\CUnitController::createAction',  '_route' => 'unit_create',);
            }
            not_unit_create:

            // unit_edit
            if (preg_match('#^/units/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'unit_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\CUnitController::editAction',));
            }

            // unit_update
            if (preg_match('#^/units/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'unit_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\CUnitController::updateAction',));
            }

        }

        if (0 === strpos($pathinfo, '/tasks')) {
            // tasks_board
            if ($pathinfo === '/tasks/tboard') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\PlanningTaskController::PlanningBoardAction',  '_route' => 'tasks_board',);
            }

            // task_get_tasks
            if ($pathinfo === '/tasks/get_tasks') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\PlanningTaskController::getTasksAjaxAction',  '_route' => 'task_get_tasks',);
            }

            // task_save
            if ($pathinfo === '/tasks/save_task') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\PlanningTaskController::saveTasksAjaxAction',  '_route' => 'task_save',);
            }

            // task_delete
            if ($pathinfo === '/tasks/delete_task') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\PlanningTaskController::deleteTasksAjaxAction',  '_route' => 'task_delete',);
            }

        }

        if (0 === strpos($pathinfo, '/clients')) {
            // vgm_client
            if (0 === strpos($pathinfo, '/clients/list') && preg_match('#^/clients/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_client')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::indexAction',  'page' => 1,));
            }

            // vgm_client_show
            if (preg_match('#^/clients/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_client_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::showAction',));
            }

            // vgm_client_new
            if ($pathinfo === '/clients/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::newAction',  '_route' => 'vgm_client_new',);
            }

            // vgm_client_create
            if ($pathinfo === '/clients/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_vgm_client_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::createAction',  '_route' => 'vgm_client_create',);
            }
            not_vgm_client_create:

            // vgm_client_edit
            if (preg_match('#^/clients/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_client_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::editAction',));
            }

            // vgm_client_update
            if (preg_match('#^/clients/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_client_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::updateAction',));
            }

            // vgm_client_delete
            if (preg_match('#^/clients/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_client_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::deleteAction',));
            }

            // vgm_clients_get_current
            if ($pathinfo === '/clients/get_clients_list') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ClientController::getClientsListAction',  '_route' => 'vgm_clients_get_current',);
            }

            // export_cll2excel
            if ($pathinfo === '/clients/cll2excel') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportClientsList2XLSAction',  '_route' => 'export_cll2excel',);
            }

        }

        if (0 === strpos($pathinfo, '/departments')) {
            // vgm_departments
            if (0 === strpos($pathinfo, '/departments/list') && preg_match('#^/departments/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_departments')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::indexAction',  'page' => 1,));
            }

            // vgm_departments_show
            if (preg_match('#^/departments/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_departments_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::showAction',));
            }

            // vgm_departments_new
            if ($pathinfo === '/departments/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::newAction',  '_route' => 'vgm_departments_new',);
            }

            // vgm_departments_create
            if ($pathinfo === '/departments/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_vgm_departments_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::createAction',  '_route' => 'vgm_departments_create',);
            }
            not_vgm_departments_create:

            // vgm_departments_edit
            if (preg_match('#^/departments/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_departments_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::editAction',));
            }

            // vgm_departments_update
            if (preg_match('#^/departments/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_departments_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::updateAction',));
            }

            // vgm_departments_delete
            if (preg_match('#^/departments/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_departments_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::deleteAction',));
            }

            if (0 === strpos($pathinfo, '/departments/dep')) {
                // check_createing_exist
                if ($pathinfo === '/departments/depExist/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::checkCreatingDepExistAjaxAction',  '_route' => 'check_createing_exist',);
                }

                // update_department
                if ($pathinfo === '/departments/depUpdate/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::updateDepartmentAjaxAction',  '_route' => 'update_department',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/payschedules')) {
            // NPaySchedules
            if (0 === strpos($pathinfo, '/payschedules/list') && preg_match('#^/payschedules/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'NPaySchedules')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::indexAction',  'page' => 1,));
            }

            // NPaySchedules_show
            if (preg_match('#^/payschedules/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'NPaySchedules_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::showAction',));
            }

            // NPaySchedules_new
            if ($pathinfo === '/payschedules/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::newAction',  '_route' => 'NPaySchedules_new',);
            }

            // NPaySchedules_create
            if ($pathinfo === '/payschedules/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_NPaySchedules_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::createAction',  '_route' => 'NPaySchedules_create',);
            }
            not_NPaySchedules_create:

            // NPaySchedules_edit
            if (preg_match('#^/payschedules/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'NPaySchedules_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::editAction',));
            }

            // NPaySchedules_update
            if (preg_match('#^/payschedules/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'NPaySchedules_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::updateAction',));
            }

            // NPaySchedules_delete
            if (preg_match('#^/payschedules/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'NPaySchedules_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\NPayScheduleController::deleteAction',));
            }

        }

        if (0 === strpos($pathinfo, '/workers')) {
            // workers
            if (0 === strpos($pathinfo, '/workers/list') && preg_match('#^/workers/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workers')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::indexAction',  'page' => 1,));
            }

            // workers_show
            if (preg_match('#^/workers/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workers_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::showAction',));
            }

            // workers_new
            if ($pathinfo === '/workers/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::newAction',  '_route' => 'workers_new',);
            }

            // workers_create
            if ($pathinfo === '/workers/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_workers_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::createAction',  '_route' => 'workers_create',);
            }
            not_workers_create:

            // workers_edit
            if (preg_match('#^/workers/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workers_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::editAction',));
            }

            // workers_update
            if (preg_match('#^/workers/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workers_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::updateAction',));
            }

            // workers_delete
            if (preg_match('#^/workers/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'workers_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::deleteAction',));
            }

            // get_worker_by_code
            if ($pathinfo === '/workers/getWorkerByCode/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getWorkerByCodeAjaxAction',  '_route' => 'get_worker_by_code',);
            }

            // search4aworkers
            if ($pathinfo === '/workers/findWorkers/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::search4WorkersAjaxAction',  '_route' => 'search4aworkers',);
            }

            if (0 === strpos($pathinfo, '/workers/get')) {
                // get_supervisors
                if ($pathinfo === '/workers/getSupervisors/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getSupervisorsAjaxAction',  '_route' => 'get_supervisors',);
                }

                // get_workers_support
                if ($pathinfo === '/workers/getWorkersSuport/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getSupportAjaxAction',  '_route' => 'get_workers_support',);
                }

            }

            // get_filtered_workers
            if ($pathinfo === '/workers/FWorkers/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getFilteredWorkersAjaxAction',  '_route' => 'get_filtered_workers',);
            }

            // update_worker
            if ($pathinfo === '/workers/UpdateWorker/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::UpdateWorkerAjaxAction',  '_route' => 'update_worker',);
            }

            // get_worker_data
            if ($pathinfo === '/workers/getWorkerData/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::getWorkerDataAjaxAction',  '_route' => 'get_worker_data',);
            }

            // try_worker_code
            if ($pathinfo === '/workers/tryWorkerCode/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkerController::tryWorkerCodeAjaxAction',  '_route' => 'try_worker_code',);
            }

        }

        if (0 === strpos($pathinfo, '/saletypes')) {
            // saletypes
            if (0 === strpos($pathinfo, '/saletypes/list') && preg_match('#^/saletypes/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'saletypes')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::indexAction',  'page' => 1,));
            }

            // saletypes_show
            if (preg_match('#^/saletypes/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'saletypes_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::showAction',));
            }

            // saletypes_new
            if ($pathinfo === '/saletypes/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::newAction',  '_route' => 'saletypes_new',);
            }

            // saletypes_create
            if ($pathinfo === '/saletypes/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_saletypes_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::createAction',  '_route' => 'saletypes_create',);
            }
            not_saletypes_create:

            // saletypes_edit
            if (preg_match('#^/saletypes/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'saletypes_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::editAction',));
            }

            // saletypes_update
            if (preg_match('#^/saletypes/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                    $allow = array_merge($allow, array('POST', 'PUT'));
                    goto not_saletypes_update;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'saletypes_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::updateAction',));
            }
            not_saletypes_update:

            // saletypes_delete
            if (preg_match('#^/saletypes/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                    $allow = array_merge($allow, array('POST', 'DELETE'));
                    goto not_saletypes_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'saletypes_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\SaleTypeController::deleteAction',));
            }
            not_saletypes_delete:

        }

        if (0 === strpos($pathinfo, '/work')) {
            if (0 === strpos($pathinfo, '/worktypes')) {
                // worktypes
                if (0 === strpos($pathinfo, '/worktypes/list') && preg_match('#^/worktypes/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'worktypes')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::indexAction',  'page' => 1,));
                }

                // worktypes_show
                if (preg_match('#^/worktypes/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'worktypes_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::showAction',));
                }

                // worktypes_new
                if ($pathinfo === '/worktypes/new') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::newAction',  '_route' => 'worktypes_new',);
                }

                // worktypes_create
                if ($pathinfo === '/worktypes/create') {
                    if ($this->context->getMethod() != 'POST') {
                        $allow[] = 'POST';
                        goto not_worktypes_create;
                    }

                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::createAction',  '_route' => 'worktypes_create',);
                }
                not_worktypes_create:

                // worktypes_edit
                if (preg_match('#^/worktypes/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'worktypes_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::editAction',));
                }

                // worktypes_update
                if (preg_match('#^/worktypes/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                    if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                        $allow = array_merge($allow, array('POST', 'PUT'));
                        goto not_worktypes_update;
                    }

                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'worktypes_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::updateAction',));
                }
                not_worktypes_update:

                // worktypes_delete
                if (preg_match('#^/worktypes/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                    if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                        $allow = array_merge($allow, array('POST', 'DELETE'));
                        goto not_worktypes_delete;
                    }

                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'worktypes_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkTypeController::deleteAction',));
                }
                not_worktypes_delete:

            }

            if (0 === strpos($pathinfo, '/workorders')) {
                // workorders
                if (0 === strpos($pathinfo, '/workorders/list') && preg_match('#^/workorders/list(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::indexAction',  'page' => 1,));
                }

                // workorders_archived
                if (0 === strpos($pathinfo, '/workorders/archived') && preg_match('#^/workorders/archived(?:/(?P<page>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_archived')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::archivedIndexAction',  'page' => 1,));
                }

                // workorders_show
                if (preg_match('#^/workorders/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::showAction',));
                }

                // workorders_show_archived
                if (preg_match('#^/workorders/(?P<id>[^/]++)/show_archived$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_show_archived')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::showArchivedAction',));
                }

                // workorders_new
                if ($pathinfo === '/workorders/new') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::newAction',  '_route' => 'workorders_new',);
                }

                // workorders_edit
                if (preg_match('#^/workorders/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::editAction',));
                }

                // workorders_update
                if (preg_match('#^/workorders/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                    if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                        $allow = array_merge($allow, array('POST', 'PUT'));
                        goto not_workorders_update;
                    }

                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::updateAction',));
                }
                not_workorders_update:

                // workorders_update_worker_labors
                if (preg_match('#^/workorders/(?P<id>[^/]++)/updateWlabors$#s', $pathinfo, $matches)) {
                    if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                        $allow = array_merge($allow, array('POST', 'PUT'));
                        goto not_workorders_update_worker_labors;
                    }

                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_update_worker_labors')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::updateWorkerLaborsAction',));
                }
                not_workorders_update_worker_labors:

                // workorders_delete
                if (preg_match('#^/workorders/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                    if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                        $allow = array_merge($allow, array('POST', 'DELETE'));
                        goto not_workorders_delete;
                    }

                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::deleteAction',));
                }
                not_workorders_delete:

                // workorders_timeRecord_manager
                if (preg_match('#^/workorders/(?P<id>[^/]++)/timeRecords$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'workorders_timeRecord_manager')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::timeRecordManagerAction',));
                }

                // create_workorder
                if ($pathinfo === '/workorders/createWO/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::createWorkOrderAjaxAction',  '_route' => 'create_workorder',);
                }

                // next_workorder_number
                if ($pathinfo === '/workorders/nexwo/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getNextWorkOrderNumberAjaxAction',  '_route' => 'next_workorder_number',);
                }

                // update_workorder
                if ($pathinfo === '/workorders/updateWO/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::updateWorkOrderAjaxAction',  '_route' => 'update_workorder',);
                }

                if (0 === strpos($pathinfo, '/workorders/woExist')) {
                    // check_creating_exist
                    if ($pathinfo === '/workorders/woExist/ajax/call') {
                        return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::woExistAjaxAction',  '_route' => 'check_creating_exist',);
                    }

                    // check_updating_exist
                    if ($pathinfo === '/workorders/woExist4cu/ajax/call') {
                        return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::woExist4CreateUpdateAjaxAction',  '_route' => 'check_updating_exist',);
                    }

                }

                // find_stocks4workorder
                if ($pathinfo === '/workorders/findStock/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::findStockAjaxAction',  '_route' => 'find_stocks4workorder',);
                }

                // refresh_equipment_list
                if ($pathinfo === '/workorders/refreshEquipments/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::refreshEquipmentListAction',  '_route' => 'refresh_equipment_list',);
                }

                // update_stocks4workorder
                if ($pathinfo === '/workorders/updateStocks/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::updateStocks4WorkOrderAjaxAction',  '_route' => 'update_stocks4workorder',);
                }

                if (0 === strpos($pathinfo, '/workorders/get')) {
                    // get_workorder_by_number
                    if ($pathinfo === '/workorders/getByNumber/ajax/call') {
                        return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderByNoAjaxAction',  '_route' => 'get_workorder_by_number',);
                    }

                    if (0 === strpos($pathinfo, '/workorders/getWO')) {
                        if (0 === strpos($pathinfo, '/workorders/getWOSupport')) {
                            // get_wo_support
                            if ($pathinfo === '/workorders/getWOSupport/ajax/call') {
                                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderSupportAjaxAction',  '_route' => 'get_wo_support',);
                            }

                            // get_wo_support_by_id
                            if ($pathinfo === '/workorders/getWOSupportById/ajax/call') {
                                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderDataByIdAjaxAction',  '_route' => 'get_wo_support_by_id',);
                            }

                        }

                        // get_wo_support_by_number
                        if ($pathinfo === '/workorders/getWODataByNumber/ajax/call') {
                            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderDataByNumberAjaxAction',  '_route' => 'get_wo_support_by_number',);
                        }

                    }

                }

                if (0 === strpos($pathinfo, '/workorders/F')) {
                    // get_filtered_workorders
                    if ($pathinfo === '/workorders/FWO/ajax/call') {
                        return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getFilteredWorkOrdersAjaxAction',  '_route' => 'get_filtered_workorders',);
                    }

                    // get_filtered_workorders_stocks
                    if ($pathinfo === '/workorders/FAWO/ajax/call') {
                        return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getFilteredWorkOrdersStocksAjaxAction',  '_route' => 'get_filtered_workorders_stocks',);
                    }

                }

                // workorder_get_my_obs
                if ($pathinfo === '/workorders/obs/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderObsAjaxAction',  '_route' => 'workorder_get_my_obs',);
                }

                // workorder_get_my_tasks
                if ($pathinfo === '/workorders/tasks/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderTasksAjaxAction',  '_route' => 'workorder_get_my_tasks',);
                }

                // workorder_get_my_stocks
                if ($pathinfo === '/workorders/stocks/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderStocksAjaxAction',  '_route' => 'workorder_get_my_stocks',);
                }

                // workorder_get_my_invoices
                if ($pathinfo === '/workorders/invoices/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::getWorkOrderInvoicesAjaxAction',  '_route' => 'workorder_get_my_invoices',);
                }

                // workorders_get_current
                if ($pathinfo === '/workorders/current_workorders/ajax') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::currentWorkOrdersAction',  '_route' => 'workorders_get_current',);
                }

                // workorders_get_archived
                if ($pathinfo === '/workorders/archived_workorders/ajax') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkOrderController::unCurrentWorkOrdersAction',  '_route' => 'workorders_get_archived',);
                }

                // show_workorders_stickers
                if (preg_match('#^/workorders/(?P<id>[^/]++)/wstickers$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'show_workorders_stickers')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StickersController::ShowWorkOrderStickersAction',));
                }

                // show_stock_stickers
                if (preg_match('#^/workorders/(?P<id>[^/]++)/sstickers$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'show_stock_stickers')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StickersController::ShowStockStickersAction',));
                }

            }

        }

        if (0 === strpos($pathinfo, '/equipments')) {
            // vgm_equipments
            if (rtrim($pathinfo, '/') === '/equipments') {
                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'vgm_equipments');
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::indexAction',  '_route' => 'vgm_equipments',);
            }

            // vgm_equipments_show
            if (preg_match('#^/equipments/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_equipments_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::showAction',));
            }

            // vgm_equipments_new
            if ($pathinfo === '/equipments/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::newAction',  '_route' => 'vgm_equipments_new',);
            }

            // vgm_equipments_create
            if ($pathinfo === '/equipments/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_vgm_equipments_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::createAction',  '_route' => 'vgm_equipments_create',);
            }
            not_vgm_equipments_create:

            // vgm_equipments_edit
            if (preg_match('#^/equipments/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_equipments_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::editAction',));
            }

            // vgm_equipments_update
            if (preg_match('#^/equipments/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                    $allow = array_merge($allow, array('POST', 'PUT'));
                    goto not_vgm_equipments_update;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_equipments_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::updateAction',));
            }
            not_vgm_equipments_update:

            // vgm_equipments_delete
            if (preg_match('#^/equipments/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                    $allow = array_merge($allow, array('POST', 'DELETE'));
                    goto not_vgm_equipments_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'vgm_equipments_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\EquipmentController::deleteAction',));
            }
            not_vgm_equipments_delete:

        }

        if (0 === strpos($pathinfo, '/areas')) {
            // work_areas
            if ($pathinfo === '/areas/list') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkCategoryController::indexAction',  '_route' => 'work_areas',);
            }

            if (0 === strpos($pathinfo, '/areas/get_areas')) {
                // work_areas_get_areas
                if ($pathinfo === '/areas/get_areas/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkCategoryController::getAreasAjaxAction',  '_route' => 'work_areas_get_areas',);
                }

                // work_areas_get_areas_by_level
                if ($pathinfo === '/areas/get_areas_by_level/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkCategoryController::getWorkCategoriesByLevelAjaxAction',  '_route' => 'work_areas_get_areas_by_level',);
                }

            }

            // work_areas_edit
            if (preg_match('#^/areas/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'work_areas_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\WorkCategoryController::showAction',));
            }

        }

        if (0 === strpos($pathinfo, '/stocks')) {
            // stocks
            if (rtrim($pathinfo, '/') === '/stocks') {
                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'stocks');
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::indexAction',  '_route' => 'stocks',);
            }

            // stocks_show
            if (preg_match('#^/stocks/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'stocks_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::showAction',));
            }

            // stocks_new
            if ($pathinfo === '/stocks/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::newAction',  '_route' => 'stocks_new',);
            }

            // stocks_create
            if ($pathinfo === '/stocks/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_stocks_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::createAction',  '_route' => 'stocks_create',);
            }
            not_stocks_create:

            // stocks_edit
            if (preg_match('#^/stocks/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'stocks_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::editAction',));
            }

            // stocks_update
            if (preg_match('#^/stocks/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                    $allow = array_merge($allow, array('POST', 'PUT'));
                    goto not_stocks_update;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'stocks_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::updateAction',));
            }
            not_stocks_update:

            // stocks_delete
            if (preg_match('#^/stocks/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                    $allow = array_merge($allow, array('POST', 'DELETE'));
                    goto not_stocks_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'stocks_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::deleteAction',));
            }
            not_stocks_delete:

            // save_stock
            if ($pathinfo === '/stocks/Save/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::saveStockAjaxAction',  '_route' => 'save_stock',);
            }

            // update_uploaded_stocks
            if ($pathinfo === '/stocks/updateUpdStocks/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\StockController::updateUploadedStocksAjaxAction',  '_route' => 'update_uploaded_stocks',);
            }

        }

        if (0 === strpos($pathinfo, '/images')) {
            // images
            if (rtrim($pathinfo, '/') === '/images') {
                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'images');
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::indexAction',  '_route' => 'images',);
            }

            // images_show
            if (preg_match('#^/images/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'images_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::showAction',));
            }

            // images_new
            if ($pathinfo === '/images/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::newAction',  '_route' => 'images_new',);
            }

            // images_create
            if ($pathinfo === '/images/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_images_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::createAction',  '_route' => 'images_create',);
            }
            not_images_create:

            // images_edit
            if (preg_match('#^/images/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'images_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::editAction',));
            }

            // images_update
            if (preg_match('#^/images/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                    $allow = array_merge($allow, array('POST', 'PUT'));
                    goto not_images_update;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'images_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::updateAction',));
            }
            not_images_update:

            // images_delete
            if (preg_match('#^/images/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                    $allow = array_merge($allow, array('POST', 'DELETE'));
                    goto not_images_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'images_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\ImageController::deleteAction',));
            }
            not_images_delete:

        }

        if (0 === strpos($pathinfo, '/laborloops')) {
            // loops
            if (rtrim($pathinfo, '/') === '/laborloops') {
                if (substr($pathinfo, -1) !== '/') {
                    return $this->redirect($pathinfo.'/', 'loops');
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::indexAction',  '_route' => 'loops',);
            }

            // loops_show
            if (preg_match('#^/laborloops/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'loops_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::showAction',));
            }

            // loops_new
            if ($pathinfo === '/laborloops/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::newAction',  '_route' => 'loops_new',);
            }

            // loops_create
            if ($pathinfo === '/laborloops/create') {
                if ($this->context->getMethod() != 'POST') {
                    $allow[] = 'POST';
                    goto not_loops_create;
                }

                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::createAction',  '_route' => 'loops_create',);
            }
            not_loops_create:

            // loops_edit
            if (preg_match('#^/laborloops/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'loops_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::editAction',));
            }

            // loops_update
            if (preg_match('#^/laborloops/(?P<id>[^/]++)/update$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'PUT'))) {
                    $allow = array_merge($allow, array('POST', 'PUT'));
                    goto not_loops_update;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'loops_update')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::updateAction',));
            }
            not_loops_update:

            // loops_delete
            if (preg_match('#^/laborloops/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('POST', 'DELETE'))) {
                    $allow = array_merge($allow, array('POST', 'DELETE'));
                    goto not_loops_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'loops_delete')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::deleteAction',));
            }
            not_loops_delete:

            // loops_save_me
            if ($pathinfo === '/laborloops/SaveLoops/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::SaveMeAjaxAction',  '_route' => 'loops_save_me',);
            }

            // loops_delete_me
            if ($pathinfo === '/laborloops/DeleteLoops/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::DeleteMeAjaxAction',  '_route' => 'loops_delete_me',);
            }

            // validate_my_date_time
            if ($pathinfo === '/laborloops/validate_my_date_time/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\LaborLoopController::ValidateMyDateTimeAjaxAction',  '_route' => 'validate_my_date_time',);
            }

        }

        if (0 === strpos($pathinfo, '/reports')) {
            // reports_woworker
            if ($pathinfo === '/reports/WOWorker') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::WorkOrdersByWorkerAction',  '_route' => 'reports_woworker',);
            }

            // reports_jobs_worker
            if ($pathinfo === '/reports/JobsDoneWorker') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::JobsByWorkerAction',  '_route' => 'reports_jobs_worker',);
            }

            // reports_invoices
            if ($pathinfo === '/reports/invoices_rpt') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::InvoicingAction',  '_route' => 'reports_invoices',);
            }

            // reports_get_sup_workordes
            if ($pathinfo === '/reports/supWO/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::search4WorkOrdersAjaxAction',  '_route' => 'reports_get_sup_workordes',);
            }

            if (0 === strpos($pathinfo, '/reports/R')) {
                // reports_get_all_workorders
                if ($pathinfo === '/reports/RWO/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::getAllWorkOrdersAjaxAction',  '_route' => 'reports_get_all_workorders',);
                }

                // reports_get_filtered_workorders
                if ($pathinfo === '/reports/RFWO/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::getFilteredWorkOrdersAjaxAction',  '_route' => 'reports_get_filtered_workorders',);
                }

            }

            if (0 === strpos($pathinfo, '/reports/FW')) {
                // reports_get_filtered_workers
                if ($pathinfo === '/reports/FW/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::getFilteredWorkersAjaxAction',  '_route' => 'reports_get_filtered_workers',);
                }

                // reports_get_filtered_workorder_loops
                if ($pathinfo === '/reports/FWLoops/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::getFilteredWorkOrderLoopsAjaxAction',  '_route' => 'reports_get_filtered_workorder_loops',);
                }

                // reports_get_filtered_worker_loops
                if ($pathinfo === '/reports/FWorkerLoops/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ReportsController::getFilteredWorkerLoopsAjaxAction',  '_route' => 'reports_get_filtered_worker_loops',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/notices')) {
            // workers_time_notifications
            if ($pathinfo === '/notices/WTN') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::WorkersTimeNotificationsAction',  '_route' => 'workers_time_notifications',);
            }

            // theres_new_loop_notices
            if ($pathinfo === '/notices/new_loop_notices/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::getThereNewLoopNoticesAjaxAction',  '_route' => 'theres_new_loop_notices',);
            }

            // get_active_loop_notices
            if ($pathinfo === '/notices/active_loop_notices/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::getActiveLoopNoticesAjaxAction',  '_route' => 'get_active_loop_notices',);
            }

            if (0 === strpos($pathinfo, '/notices/dismisse')) {
                // get_dismissed_loop_notices
                if ($pathinfo === '/notices/dismissed_loop_notices/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::getDismissedLoopNoticesAjaxAction',  '_route' => 'get_dismissed_loop_notices',);
                }

                // dismiss_notice
                if ($pathinfo === '/notices/dismisse_notice/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::dismissNoticeAjaxAction',  '_route' => 'dismiss_notice',);
                }

            }

            // activate_notice
            if ($pathinfo === '/notices/activate_notice/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::activateNoticeAjaxAction',  '_route' => 'activate_notice',);
            }

            // get_notices_loop
            if ($pathinfo === '/notices/notices_loop/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NoticeController::getNoticeLoopsNoticesAjaxAction',  '_route' => 'get_notices_loop',);
            }

        }

        // get_departments
        if ($pathinfo === '/support/deps/ajax/call') {
            return array (  '_controller' => 'VGM\\WOBundle\\Controller\\NDepartmentController::getDepartmentsAjaxAction',  '_route' => 'get_departments',);
        }

        if (0 === strpos($pathinfo, '/export')) {
            // export_filtered_workorders_xls
            if ($pathinfo === '/export/FWO2excel/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportFilteredWorkOrders2ExcelAjaxAction',  '_route' => 'export_filtered_workorders_xls',);
            }

            // export_filtered_workorders_consolidated_xls
            if ($pathinfo === '/export/CFWO2excel/ajax/call') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportConsolidatedFilteredWorkOrders2ExcelAjaxAction',  '_route' => 'export_filtered_workorders_consolidated_xls',);
            }

            if (0 === strpos($pathinfo, '/export/FW')) {
                // export_filtered_workorders_labors_xls
                if ($pathinfo === '/export/FWOL2excel/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportFilteredWorkOrdersLabors2ExcelAjaxAction',  '_route' => 'export_filtered_workorders_labors_xls',);
                }

                // export_filtered_workers_xls
                if ($pathinfo === '/export/FWorkers/xls/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportFilteredWorkers2ExcelAjaxAction',  '_route' => 'export_filtered_workers_xls',);
                }

                // export_filtered_workers_labors_xls
                if ($pathinfo === '/export/FWlabors/xls/ajax/call') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\ExporterController::exportFilteredWorkersLabors2ExcelAjaxAction',  '_route' => 'export_filtered_workers_labors_xls',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/invoices')) {
            // invoices
            if ($pathinfo === '/invoices/list') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::indexAction',  '_route' => 'invoices',);
            }

            // invoices_new
            if ($pathinfo === '/invoices/new') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::newAction',  '_route' => 'invoices_new',);
            }

            // invoices_edit
            if (preg_match('#^/invoices/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'invoices_edit')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::editAction',));
            }

            // invoices_show
            if (preg_match('#^/invoices/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'invoices_show')), array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::showAction',));
            }

            // get_invoices_list
            if ($pathinfo === '/invoices/invoices_list/ajax') {
                return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::invoicesListAction',  '_route' => 'get_invoices_list',);
            }

            if (0 === strpos($pathinfo, '/invoices/save_invoice_')) {
                // save_invoice_term
                if ($pathinfo === '/invoices/save_invoice_term/ajax') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::saveInvoiceTermAction',  '_route' => 'save_invoice_term',);
                }

                // save_invoice_via
                if ($pathinfo === '/invoices/save_invoice_via/ajax') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::saveInvoiceViaAction',  '_route' => 'save_invoice_via',);
                }

                // save_invoice_item_template
                if ($pathinfo === '/invoices/save_invoice_item_template/ajax') {
                    return array (  '_controller' => 'VGM\\WOBundle\\Controller\\InvoiceController::saveInvoiceItemTemplateAction',  '_route' => 'save_invoice_item_template',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/log')) {
            if (0 === strpos($pathinfo, '/login')) {
                // fos_user_security_login
                if ($pathinfo === '/login') {
                    if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                        $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                        goto not_fos_user_security_login;
                    }

                    return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::loginAction',  '_route' => 'fos_user_security_login',);
                }
                not_fos_user_security_login:

                // fos_user_security_check
                if ($pathinfo === '/login_check') {
                    if ($this->context->getMethod() != 'POST') {
                        $allow[] = 'POST';
                        goto not_fos_user_security_check;
                    }

                    return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::checkAction',  '_route' => 'fos_user_security_check',);
                }
                not_fos_user_security_check:

            }

            // fos_user_security_logout
            if ($pathinfo === '/logout') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_security_logout;
                }

                return array (  '_controller' => 'FOS\\UserBundle\\Controller\\SecurityController::logoutAction',  '_route' => 'fos_user_security_logout',);
            }
            not_fos_user_security_logout:

        }

        // fos_user_change_password
        if ($pathinfo === '/change-password') {
            if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                goto not_fos_user_change_password;
            }

            return array (  '_controller' => 'VGM\\UserBundle\\Controller\\ChangePasswordController::changePasswordAction',  '_route' => 'fos_user_change_password',);
        }
        not_fos_user_change_password:

        if (0 === strpos($pathinfo, '/group')) {
            // fos_user_group_list
            if ($pathinfo === '/group/list') {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_group_list;
                }

                return array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::listAction',  '_route' => 'fos_user_group_list',);
            }
            not_fos_user_group_list:

            // fos_user_group_new
            if ($pathinfo === '/group/new') {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_fos_user_group_new;
                }

                return array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::newAction',  '_route' => 'fos_user_group_new',);
            }
            not_fos_user_group_new:

            // fos_user_group_show
            if (preg_match('#^/group/(?P<groupName>[^/]++)$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_group_show;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_group_show')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::showAction',));
            }
            not_fos_user_group_show:

            // fos_user_group_edit
            if (preg_match('#^/group/(?P<groupName>[^/]++)/edit$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'POST', 'HEAD'));
                    goto not_fos_user_group_edit;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_group_edit')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::editAction',));
            }
            not_fos_user_group_edit:

            // fos_user_group_delete
            if (preg_match('#^/group/(?P<groupName>[^/]++)/delete$#s', $pathinfo, $matches)) {
                if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
                    $allow = array_merge($allow, array('GET', 'HEAD'));
                    goto not_fos_user_group_delete;
                }

                return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_group_delete')), array (  '_controller' => 'VGM\\UserBundle\\Controller\\GroupController::deleteAction',));
            }
            not_fos_user_group_delete:

        }

        throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
    }
}
