<?php

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

/**
 * appDevUrlMatcher
 *
 * This class has been auto-generated
 * by the Symfony Routing Component.
 */
class appDevUrlMatcher 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;

        if (0 === strpos($pathinfo, '/bootstrap')) {
            if (0 === strpos($pathinfo, '/bootstrap/css/bootstrap')) {
                // _assetic_bootstrap_css
                if ($pathinfo === '/bootstrap/css/bootstrap.css') {
                    return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_css',  'pos' => NULL,  '_format' => 'css',  '_route' => '_assetic_bootstrap_css',);
                }

                if (0 === strpos($pathinfo, '/bootstrap/css/bootstrap_')) {
                    // _assetic_bootstrap_css_0
                    if ($pathinfo === '/bootstrap/css/bootstrap_bootstrap_1.css') {
                        return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_css',  'pos' => 0,  '_format' => 'css',  '_route' => '_assetic_bootstrap_css_0',);
                    }

                    // _assetic_bootstrap_css_1
                    if ($pathinfo === '/bootstrap/css/bootstrap_form_2.css') {
                        return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_css',  'pos' => 1,  '_format' => 'css',  '_route' => '_assetic_bootstrap_css_1',);
                    }

                }

            }

            if (0 === strpos($pathinfo, '/bootstrap/js')) {
                if (0 === strpos($pathinfo, '/bootstrap/js/bootstrap')) {
                    // _assetic_bootstrap_js
                    if ($pathinfo === '/bootstrap/js/bootstrap.js') {
                        return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => NULL,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js',);
                    }

                    if (0 === strpos($pathinfo, '/bootstrap/js/bootstrap_')) {
                        // _assetic_bootstrap_js_0
                        if ($pathinfo === '/bootstrap/js/bootstrap_transition_1.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 0,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_0',);
                        }

                        // _assetic_bootstrap_js_1
                        if ($pathinfo === '/bootstrap/js/bootstrap_alert_2.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 1,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_1',);
                        }

                        // _assetic_bootstrap_js_2
                        if ($pathinfo === '/bootstrap/js/bootstrap_button_3.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 2,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_2',);
                        }

                        if (0 === strpos($pathinfo, '/bootstrap/js/bootstrap_c')) {
                            // _assetic_bootstrap_js_3
                            if ($pathinfo === '/bootstrap/js/bootstrap_carousel_4.js') {
                                return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 3,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_3',);
                            }

                            // _assetic_bootstrap_js_4
                            if ($pathinfo === '/bootstrap/js/bootstrap_collapse_5.js') {
                                return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 4,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_4',);
                            }

                        }

                        // _assetic_bootstrap_js_5
                        if ($pathinfo === '/bootstrap/js/bootstrap_dropdown_6.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 5,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_5',);
                        }

                        // _assetic_bootstrap_js_6
                        if ($pathinfo === '/bootstrap/js/bootstrap_modal_7.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 6,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_6',);
                        }

                        // _assetic_bootstrap_js_7
                        if ($pathinfo === '/bootstrap/js/bootstrap_tooltip_8.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 7,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_7',);
                        }

                        // _assetic_bootstrap_js_8
                        if ($pathinfo === '/bootstrap/js/bootstrap_popover_9.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 8,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_8',);
                        }

                        // _assetic_bootstrap_js_9
                        if ($pathinfo === '/bootstrap/js/bootstrap_scrollspy_10.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 9,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_9',);
                        }

                        // _assetic_bootstrap_js_10
                        if ($pathinfo === '/bootstrap/js/bootstrap_tab_11.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 10,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_10',);
                        }

                        // _assetic_bootstrap_js_11
                        if ($pathinfo === '/bootstrap/js/bootstrap_affix_12.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 11,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_11',);
                        }

                        // _assetic_bootstrap_js_12
                        if ($pathinfo === '/bootstrap/js/bootstrap_bc-bootstrap-collection_13.js') {
                            return array (  '_controller' => 'assetic.controller:render',  'name' => 'bootstrap_js',  'pos' => 12,  '_format' => 'js',  '_route' => '_assetic_bootstrap_js_12',);
                        }

                    }

                }

                if (0 === strpos($pathinfo, '/bootstrap/js/jquery')) {
                    // _assetic_jquery
                    if ($pathinfo === '/bootstrap/js/jquery.js') {
                        return array (  '_controller' => 'assetic.controller:render',  'name' => 'jquery',  'pos' => NULL,  '_format' => 'js',  '_route' => '_assetic_jquery',);
                    }

                    // _assetic_jquery_0
                    if ($pathinfo === '/bootstrap/js/jquery_jquery-1.10.2_1.js') {
                        return array (  '_controller' => 'assetic.controller:render',  'name' => 'jquery',  'pos' => 0,  '_format' => 'js',  '_route' => '_assetic_jquery_0',);
                    }

                }

            }

        }

        if (0 === strpos($pathinfo, '/_')) {
            // _wdt
            if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array (  '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
            }

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

                    return array (  '_controller' => 'web_profiler.controller.profiler:homeAction',  '_route' => '_profiler_home',);
                }

                if (0 === strpos($pathinfo, '/_profiler/search')) {
                    // _profiler_search
                    if ($pathinfo === '/_profiler/search') {
                        return array (  '_controller' => 'web_profiler.controller.profiler:searchAction',  '_route' => '_profiler_search',);
                    }

                    // _profiler_search_bar
                    if ($pathinfo === '/_profiler/search_bar') {
                        return array (  '_controller' => 'web_profiler.controller.profiler:searchBarAction',  '_route' => '_profiler_search_bar',);
                    }

                }

                // _profiler_purge
                if ($pathinfo === '/_profiler/purge') {
                    return array (  '_controller' => 'web_profiler.controller.profiler:purgeAction',  '_route' => '_profiler_purge',);
                }

                if (0 === strpos($pathinfo, '/_profiler/i')) {
                    // _profiler_info
                    if (0 === strpos($pathinfo, '/_profiler/info') && preg_match('#^/_profiler/info/(?P<about>[^/]++)$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_info')), array (  '_controller' => 'web_profiler.controller.profiler:infoAction',));
                    }

                    // _profiler_import
                    if ($pathinfo === '/_profiler/import') {
                        return array (  '_controller' => 'web_profiler.controller.profiler:importAction',  '_route' => '_profiler_import',);
                    }

                }

                // _profiler_export
                if (0 === strpos($pathinfo, '/_profiler/export') && preg_match('#^/_profiler/export/(?P<token>[^/\\.]++)\\.txt$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_export')), array (  '_controller' => 'web_profiler.controller.profiler:exportAction',));
                }

                // _profiler_phpinfo
                if ($pathinfo === '/_profiler/phpinfo') {
                    return array (  '_controller' => 'web_profiler.controller.profiler:phpinfoAction',  '_route' => '_profiler_phpinfo',);
                }

                // _profiler_search_results
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array (  '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
                }

                // _profiler
                if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array (  '_controller' => 'web_profiler.controller.profiler:panelAction',));
                }

                // _profiler_router
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array (  '_controller' => 'web_profiler.controller.router:panelAction',));
                }

                // _profiler_exception
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array (  '_controller' => 'web_profiler.controller.exception:showAction',));
                }

                // _profiler_exception_css
                if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array (  '_controller' => 'web_profiler.controller.exception:cssAction',));
                }

            }

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

                    return array (  '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::checkAction',  '_route' => '_configurator_home',);
                }

                // _configurator_step
                if (0 === strpos($pathinfo, '/_configurator/step') && preg_match('#^/_configurator/step/(?P<index>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => '_configurator_step')), array (  '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::stepAction',));
                }

                // _configurator_final
                if ($pathinfo === '/_configurator/final') {
                    return array (  '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::finalAction',  '_route' => '_configurator_final',);
                }

            }

        }

        // backend_homepage
        if (preg_match('#^/(?P<_locale>en|ca)/hello/(?P<name>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'backend_homepage')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\DefaultController::indexAction',));
        }

        // frontend_homepage
        if (preg_match('#^/(?P<_locale>en|ca)/hello/(?P<name>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'frontend_homepage')), array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::indexAction',));
        }

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

            return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::homeAction',  '_route' => 'home',);
        }

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

            return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::homeAction',  '_route' => '_home',);
        }

        // static_page
        if (0 === strpos($pathinfo, '/static') && preg_match('#^/static/(?P<page>[^/]++)/?$#s', $pathinfo, $matches)) {
            if (substr($pathinfo, -1) !== '/') {
                return $this->redirect($pathinfo.'/', 'static_page');
            }

            return $this->mergeDefaults(array_replace($matches, array('_route' => 'static_page')), array (  '_controller' => 'Site\\FrontendBundle\\Controller\\StaticController::static_pageAction',));
        }

        if (0 === strpos($pathinfo, '/user')) {
            if (0 === strpos($pathinfo, '/user/log')) {
                if (0 === strpos($pathinfo, '/user/login')) {
                    // login
                    if ($pathinfo === '/user/login') {
                        return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::loginAction',  '_route' => 'login',);
                    }

                    // login_check
                    if ($pathinfo === '/user/login_check') {
                        return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::login_checkAction',  '_route' => 'login_check',);
                    }

                }

                // logout
                if ($pathinfo === '/user/logout') {
                    return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::logoutAction',  '_route' => 'logout',);
                }

            }

            // register
            if ($pathinfo === '/user/register') {
                return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::registerAction',  '_route' => 'register',);
            }

            // profile
            if ($pathinfo === '/user/profile') {
                return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::profileAction',  '_route' => 'profile',);
            }

        }

        // contact
        if ($pathinfo === '/contact') {
            return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::contactAction',  '_route' => 'contact',);
        }

        // upload
        if ($pathinfo === '/upload') {
            return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::uploadAction',  '_route' => 'upload',);
        }

        // add_event
        if ($pathinfo === '/add_event') {
            return array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::add_eventAction',  '_route' => 'add_event',);
        }

        // file
        if (0 === strpos($pathinfo, '/file') && preg_match('#^/file/(?P<id_file>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'file')), array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::fileAction',));
        }

        // event
        if (0 === strpos($pathinfo, '/event') && preg_match('#^/event/(?P<id_event>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'event')), array (  '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::eventAction',));
        }

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

                return array (  '_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::redirectAction',  'route' => 'sonata_admin_dashboard',  'permanent' => 'true',  '_route' => 'sonata_admin_redirect',);
            }

            // sonata_admin_dashboard
            if ($pathinfo === '/admin/dashboard') {
                return array (  '_controller' => 'Sonata\\AdminBundle\\Controller\\CoreController::dashboardAction',  '_route' => 'sonata_admin_dashboard',);
            }

            if (0 === strpos($pathinfo, '/admin/core')) {
                // sonata_admin_retrieve_form_element
                if ($pathinfo === '/admin/core/get-form-field-element') {
                    return array (  '_controller' => 'sonata.admin.controller.admin:retrieveFormFieldElementAction',  '_route' => 'sonata_admin_retrieve_form_element',);
                }

                // sonata_admin_append_form_element
                if ($pathinfo === '/admin/core/append-form-field-element') {
                    return array (  '_controller' => 'sonata.admin.controller.admin:appendFormFieldElementAction',  '_route' => 'sonata_admin_append_form_element',);
                }

                // sonata_admin_short_object_information
                if (0 === strpos($pathinfo, '/admin/core/get-short-object-description') && preg_match('#^/admin/core/get\\-short\\-object\\-description(?:\\.(?P<_format>html|json))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'sonata_admin_short_object_information')), array (  '_controller' => 'sonata.admin.controller.admin:getShortObjectDescriptionAction',  '_format' => 'html',));
                }

                // sonata_admin_set_object_field_value
                if ($pathinfo === '/admin/core/set-object-field-value') {
                    return array (  '_controller' => 'sonata.admin.controller.admin:setObjectFieldValueAction',  '_route' => 'sonata_admin_set_object_field_value',);
                }

            }

            if (0 === strpos($pathinfo, '/admin/s')) {
                // sonata_admin_search
                if ($pathinfo === '/admin/search') {
                    return array (  '_controller' => 'Sonata\\AdminBundle\\Controller\\CoreController::searchAction',  '_route' => 'sonata_admin_search',);
                }

                if (0 === strpos($pathinfo, '/admin/site/frontend')) {
                    if (0 === strpos($pathinfo, '/admin/site/frontend/users')) {
                        // admin_site_frontend_users_list
                        if ($pathinfo === '/admin/site/frontend/users/list') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_list',  '_route' => 'admin_site_frontend_users_list',);
                        }

                        // admin_site_frontend_users_create
                        if ($pathinfo === '/admin/site/frontend/users/create') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_create',  '_route' => 'admin_site_frontend_users_create',);
                        }

                        // admin_site_frontend_users_batch
                        if ($pathinfo === '/admin/site/frontend/users/batch') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_batch',  '_route' => 'admin_site_frontend_users_batch',);
                        }

                        // admin_site_frontend_users_edit
                        if (preg_match('#^/admin/site/frontend/users/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_users_edit')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_edit',));
                        }

                        // admin_site_frontend_users_delete
                        if (preg_match('#^/admin/site/frontend/users/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_users_delete')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_delete',));
                        }

                        // admin_site_frontend_users_show
                        if (preg_match('#^/admin/site/frontend/users/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_users_show')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_show',));
                        }

                        // admin_site_frontend_users_export
                        if ($pathinfo === '/admin/site/frontend/users/export') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',  '_sonata_admin' => 'sonata.site.admin.users',  '_sonata_name' => 'admin_site_frontend_users_export',  '_route' => 'admin_site_frontend_users_export',);
                        }

                    }

                    if (0 === strpos($pathinfo, '/admin/site/frontend/categories')) {
                        // admin_site_frontend_categories_list
                        if ($pathinfo === '/admin/site/frontend/categories/list') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_list',  '_route' => 'admin_site_frontend_categories_list',);
                        }

                        // admin_site_frontend_categories_create
                        if ($pathinfo === '/admin/site/frontend/categories/create') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_create',  '_route' => 'admin_site_frontend_categories_create',);
                        }

                        // admin_site_frontend_categories_batch
                        if ($pathinfo === '/admin/site/frontend/categories/batch') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_batch',  '_route' => 'admin_site_frontend_categories_batch',);
                        }

                        // admin_site_frontend_categories_edit
                        if (preg_match('#^/admin/site/frontend/categories/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_categories_edit')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_edit',));
                        }

                        // admin_site_frontend_categories_delete
                        if (preg_match('#^/admin/site/frontend/categories/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_categories_delete')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_delete',));
                        }

                        // admin_site_frontend_categories_show
                        if (preg_match('#^/admin/site/frontend/categories/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_categories_show')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_show',));
                        }

                        // admin_site_frontend_categories_export
                        if ($pathinfo === '/admin/site/frontend/categories/export') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',  '_sonata_admin' => 'sonata.site.admin.categories',  '_sonata_name' => 'admin_site_frontend_categories_export',  '_route' => 'admin_site_frontend_categories_export',);
                        }

                    }

                    if (0 === strpos($pathinfo, '/admin/site/frontend/data')) {
                        // admin_site_frontend_data_list
                        if ($pathinfo === '/admin/site/frontend/data/list') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_list',  '_route' => 'admin_site_frontend_data_list',);
                        }

                        // admin_site_frontend_data_create
                        if ($pathinfo === '/admin/site/frontend/data/create') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_create',  '_route' => 'admin_site_frontend_data_create',);
                        }

                        // admin_site_frontend_data_batch
                        if ($pathinfo === '/admin/site/frontend/data/batch') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_batch',  '_route' => 'admin_site_frontend_data_batch',);
                        }

                        // admin_site_frontend_data_edit
                        if (preg_match('#^/admin/site/frontend/data/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_data_edit')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_edit',));
                        }

                        // admin_site_frontend_data_delete
                        if (preg_match('#^/admin/site/frontend/data/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_data_delete')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_delete',));
                        }

                        // admin_site_frontend_data_show
                        if (preg_match('#^/admin/site/frontend/data/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_data_show')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_show',));
                        }

                        // admin_site_frontend_data_export
                        if ($pathinfo === '/admin/site/frontend/data/export') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',  '_sonata_admin' => 'sonata.site.admin.data',  '_sonata_name' => 'admin_site_frontend_data_export',  '_route' => 'admin_site_frontend_data_export',);
                        }

                    }

                    if (0 === strpos($pathinfo, '/admin/site/frontend/events')) {
                        // admin_site_frontend_events_list
                        if ($pathinfo === '/admin/site/frontend/events/list') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_list',  '_route' => 'admin_site_frontend_events_list',);
                        }

                        // admin_site_frontend_events_create
                        if ($pathinfo === '/admin/site/frontend/events/create') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_create',  '_route' => 'admin_site_frontend_events_create',);
                        }

                        // admin_site_frontend_events_batch
                        if ($pathinfo === '/admin/site/frontend/events/batch') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_batch',  '_route' => 'admin_site_frontend_events_batch',);
                        }

                        // admin_site_frontend_events_edit
                        if (preg_match('#^/admin/site/frontend/events/(?P<id>[^/]++)/edit$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_events_edit')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_edit',));
                        }

                        // admin_site_frontend_events_delete
                        if (preg_match('#^/admin/site/frontend/events/(?P<id>[^/]++)/delete$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_events_delete')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_delete',));
                        }

                        // admin_site_frontend_events_show
                        if (preg_match('#^/admin/site/frontend/events/(?P<id>[^/]++)/show$#s', $pathinfo, $matches)) {
                            return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_site_frontend_events_show')), array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_show',));
                        }

                        // admin_site_frontend_events_export
                        if ($pathinfo === '/admin/site/frontend/events/export') {
                            return array (  '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',  '_sonata_admin' => 'sonata.site.admin.events',  '_sonata_name' => 'admin_site_frontend_events_export',  '_route' => 'admin_site_frontend_events_export',);
                        }

                    }

                }

            }

        }

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