<?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;

        if (0 === strpos($pathinfo, '/a')) {
            if (0 === strpos($pathinfo, '/admin')) {
                if (0 === strpos($pathinfo, '/admin/c')) {
                    if (0 === strpos($pathinfo, '/admin/cache')) {
                        // neag_main_admincache_index
                        if ($pathinfo === '/admin/cache') {
                            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminCacheController::indexAction',  '_route' => 'neag_main_admincache_index',);
                        }

                        // neag_main_admincache_clearall
                        if ($pathinfo === '/admin/cache/clear_all') {
                            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminCacheController::clearAllAction',  '_route' => 'neag_main_admincache_clearall',);
                        }

                    }

                    // neag_main_adminconfig_index
                    if ($pathinfo === '/admin/config') {
                        return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminConfigController::indexAction',  '_route' => 'neag_main_adminconfig_index',);
                    }

                }

                // neag_main_admin_main
                if ($pathinfo === '/admin') {
                    return array (  'id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminController::mainAction',  '_route' => 'neag_main_admin_main',);
                }

                if (0 === strpos($pathinfo, '/admin/f')) {
                    // neag_main_adminfeedback_index
                    if ($pathinfo === '/admin/feedback') {
                        return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminFeedbackController::indexAction',  '_route' => 'neag_main_adminfeedback_index',);
                    }

                    // neag_main_adminfileadmin_index
                    if (0 === strpos($pathinfo, '/admin/fileadmin') && preg_match('#^/admin/fileadmin(?:/(?P<type>[^/]++))?$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminfileadmin_index')), array (  'type' => 'standalone',  '_controller' => 'Neag\\MainBundle\\Controller\\AdminFileadminController::indexAction',));
                    }

                }

                // neag_main_adminfileadmin_afisha
                if (0 === strpos($pathinfo, '/admin/afisha/fileadmin') && preg_match('#^/admin/afisha/fileadmin(?:/(?P<type>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminfileadmin_afisha')), array (  'type' => 'standalone',  '_controller' => 'Neag\\MainBundle\\Controller\\AdminFileadminController::afishaAction',));
                }

                if (0 === strpos($pathinfo, '/admin/lang_var')) {
                    // neag_main_adminlangvar_edit
                    if (0 === strpos($pathinfo, '/admin/lang_var/edit') && preg_match('#^/admin/lang_var/edit(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminlangvar_edit')), array (  'id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminLangVarController::editAction',));
                    }

                    // neag_main_adminlangvar_list
                    if ($pathinfo === '/admin/lang_var') {
                        return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminLangVarController::listAction',  '_route' => 'neag_main_adminlangvar_list',);
                    }

                }

                if (0 === strpos($pathinfo, '/admin/menu_item')) {
                    // neag_main_adminmenu_edit
                    if (0 === strpos($pathinfo, '/admin/menu_item/edit') && preg_match('#^/admin/menu_item/edit(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminmenu_edit')), array (  'id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::editAction',));
                    }

                    // neag_main_adminmenu_list
                    if (preg_match('#^/admin/menu_item(?:/(?P<parent_id>[^/]++))?$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminmenu_list')), array (  'parent_id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::listAction',));
                    }

                    // neag_main_adminmenu_rearrange
                    if ($pathinfo === '/admin/menu_item_rearrange') {
                        return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::rearrangeAction',  '_route' => 'neag_main_adminmenu_rearrange',);
                    }

                }

                // neag_main_admintest_vktest
                if ($pathinfo === '/admin/vk_test') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminTestController::vkTestAction',  '_route' => 'neag_main_admintest_vktest',);
                }

                // neag_main_admintest_oktest
                if ($pathinfo === '/admin/ok_test') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminTestController::okTestAction',  '_route' => 'neag_main_admintest_oktest',);
                }

                if (0 === strpos($pathinfo, '/admin/user')) {
                    // neag_main_adminuser_edit
                    if (0 === strpos($pathinfo, '/admin/user/edit') && preg_match('#^/admin/user/edit/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminuser_edit')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::editAction',));
                    }

                    // neag_main_adminuser_info
                    if (0 === strpos($pathinfo, '/admin/user/info') && preg_match('#^/admin/user/info(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                        return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminuser_info')), array (  'id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::infoAction',));
                    }

                    // neag_main_adminuser_list
                    if ($pathinfo === '/admin/user') {
                        return array (  'parent_id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::listAction',  '_route' => 'neag_main_adminuser_list',);
                    }

                    if (0 === strpos($pathinfo, '/admin/user_blogger_demand')) {
                        // neag_main_adminuser_bloggerdemandlist
                        if ($pathinfo === '/admin/user_blogger_demand') {
                            return array (  'parent_id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::bloggerDemandListAction',  '_route' => 'neag_main_adminuser_bloggerdemandlist',);
                        }

                        if (0 === strpos($pathinfo, '/admin/user_blogger_demand_')) {
                            // neag_main_adminuser_bloggerdemandaccept
                            if (0 === strpos($pathinfo, '/admin/user_blogger_demand_accept') && preg_match('#^/admin/user_blogger_demand_accept/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminuser_bloggerdemandaccept')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::bloggerDemandAcceptAction',));
                            }

                            // neag_main_adminuser_bloggerdemanddeny
                            if (0 === strpos($pathinfo, '/admin/user_blogger_demand_deny') && preg_match('#^/admin/user_blogger_demand_deny/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_adminuser_bloggerdemanddeny')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::bloggerDemandDenyAction',));
                            }

                        }

                    }

                }

            }

            // neag_main_archive_list
            if ($pathinfo === '/archive') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\ArchiveController::listAction',  '_route' => 'neag_main_archive_list',);
            }

        }

        // neag_main_block_menu
        if ($pathinfo === '/menu') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\BlockController::menuAction',  '_route' => 'neag_main_block_menu',);
        }

        // neag_main_block_adminmenu
        if ($pathinfo === '/admin_menu') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\BlockController::adminMenuAction',  '_route' => 'neag_main_block_adminmenu',);
        }

        // neag_main_block_socialuser
        if ($pathinfo === '/social_user') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\BlockController::socialUserAction',  '_route' => 'neag_main_block_socialuser',);
        }

        // neag_main_blogs_list
        if ($pathinfo === '/blogs') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\BlogsController::listAction',  '_route' => 'neag_main_blogs_list',);
        }

        // neag_main_cron_social
        if ($pathinfo === '/cron/social') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\CronController::socialAction',  '_route' => 'neag_main_cron_social',);
        }

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

        if (0 === strpos($pathinfo, '/f')) {
            // neag_main_feedback_feedback
            if ($pathinfo === '/feedback') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\FeedbackController::feedbackAction',  '_route' => 'neag_main_feedback_feedback',);
            }

            // neag_main_fileadmin_download
            if ($pathinfo === '/fileadmin/download') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\FileadminController::downloadAction',  '_route' => 'neag_main_fileadmin_download',);
            }

        }

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

            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\MainController::mainAction',  '_route' => 'neag_main_main_main',);
        }

        // neag_main_page_show
        if (0 === strpos($pathinfo, '/article') && preg_match('#^/article/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_page_show')), array (  'article_alias' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\PageController::showAction',));
        }

        // login
        if ($pathinfo === '/login') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\SecuredController::loginAction',  '_route' => 'login',);
        }

        // login_check
        if ($pathinfo === '/admin/login_check') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\SecuredController::securityCheckAction',  '_route' => 'login_check',);
        }

        // logout
        if ($pathinfo === '/logout') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\SecuredController::logoutAction',  '_route' => 'logout',);
        }

        if (0 === strpos($pathinfo, '/registration')) {
            // neag_main_user_registration
            if ($pathinfo === '/registration') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationAction',  '_route' => 'neag_main_user_registration',);
            }

            if (0 === strpos($pathinfo, '/registration_')) {
                // neag_main_user_registrationnext
                if ($pathinfo === '/registration_next') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationNextAction',  '_route' => 'neag_main_user_registrationnext',);
                }

                // neag_main_user_registrationconfirm
                if (0 === strpos($pathinfo, '/registration_confirm') && preg_match('#^/registration_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_registrationconfirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationConfirmAction',));
                }

                // neag_main_user_registrationemailresend
                if ($pathinfo === '/registration_email_resend') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationEmailResendAction',  '_route' => 'neag_main_user_registrationemailresend',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/user')) {
            // neag_main_user_profile
            if ($pathinfo === '/user/profile') {
                return array (  'type' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::profileAction',  '_route' => 'neag_main_user_profile',);
            }

            // neag_main_user_avatar
            if ($pathinfo === '/user/avatar') {
                return array (  'type' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::avatarAction',  '_route' => 'neag_main_user_avatar',);
            }

            // neag_main_user_subscribes
            if ($pathinfo === '/user/subscribes') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::subscribesAction',  '_route' => 'neag_main_user_subscribes',);
            }

            // neag_main_user_index
            if ($pathinfo === '/user') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::indexAction',  '_route' => 'neag_main_user_index',);
            }

            if (0 === strpos($pathinfo, '/user/blog_')) {
                // neag_main_user_blogedit
                if (0 === strpos($pathinfo, '/user/blog_edit') && preg_match('#^/user/blog_edit(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_blogedit')), array (  'id' => NULL,  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::blogEditAction',));
                }

                // neag_main_user_bloglist
                if ($pathinfo === '/user/blog_list') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::blogListAction',  '_route' => 'neag_main_user_bloglist',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/b')) {
            // neag_main_user_blog
            if (0 === strpos($pathinfo, '/blog') && preg_match('#^/blog/(?P<blog_alias>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_blog')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::blogAction',));
            }

            // neag_main_user_bbcodehelp
            if ($pathinfo === '/bbcode/help') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::bbcodeHelpAction',  '_route' => 'neag_main_user_bbcodehelp',);
            }

        }

        if (0 === strpos($pathinfo, '/user')) {
            // neag_main_user_info
            if (0 === strpos($pathinfo, '/user/info') && preg_match('#^/user/info/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_info')), array (  'set_switch_urls' => true,  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::infoAction',));
            }

            // neag_main_user_mail
            if (0 === strpos($pathinfo, '/user/mail') && preg_match('#^/user/mail/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_mail')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::mailAction',));
            }

            // neag_main_user_passchange
            if ($pathinfo === '/user/pass_change') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passChangeAction',  '_route' => 'neag_main_user_passchange',);
            }

            if (0 === strpos($pathinfo, '/user/email_change')) {
                // neag_main_user_emailchange
                if ($pathinfo === '/user/email_change') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeAction',  '_route' => 'neag_main_user_emailchange',);
                }

                // neag_main_user_emailchangeconfirm
                if (0 === strpos($pathinfo, '/user/email_change_confirm') && preg_match('#^/user/email_change_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_emailchangeconfirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeConfirmAction',));
                }

            }

            if (0 === strpos($pathinfo, '/user/blogger_demand')) {
                // neag_main_user_bloggerdemand
                if ($pathinfo === '/user/blogger_demand') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::bloggerDemandAction',  '_route' => 'neag_main_user_bloggerdemand',);
                }

                // neag_main_user_bloggerdemandnext
                if ($pathinfo === '/user/blogger_demand_next') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::bloggerDemandNextAction',  '_route' => 'neag_main_user_bloggerdemandnext',);
                }

            }

        }

        if (0 === strpos($pathinfo, '/pass_lost')) {
            // neag_main_user_passlost
            if ($pathinfo === '/pass_lost') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostAction',  '_route' => 'neag_main_user_passlost',);
            }

            // neag_main_user_passlostconfirm
            if (0 === strpos($pathinfo, '/pass_lost_confirm') && preg_match('#^/pass_lost_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'neag_main_user_passlostconfirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostConfirmAction',));
            }

        }

        if (0 === strpos($pathinfo, '/user')) {
            // neag_main_user_login
            if ($pathinfo === '/user/login') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::loginAction',  '_route' => 'neag_main_user_login',);
            }

            // neag_main_user_ulogin
            if ($pathinfo === '/user/ulogin') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::uloginAction',  '_route' => 'neag_main_user_ulogin',);
            }

            // neag_main_user_logout
            if ($pathinfo === '/user/logout') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::logoutAction',  '_route' => 'neag_main_user_logout',);
            }

            // neag_main_user_list
            if ($pathinfo === '/users') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::listAction',  '_route' => 'neag_main_user_list',);
            }

        }

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

            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\MainController::mainAction',  '_route' => 'main',);
        }

        // main_m
        if ($pathinfo === '/m') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\MainController::mainAction',  '_route' => 'main_m',);
        }

        // offers
        if ($pathinfo === '/offers') {
            return array (  '_controller' => 'NeagMainBundle:Offers:list',  '_route' => 'offers',);
        }

        // offers_m
        if ($pathinfo === '/m/offers') {
            return array (  '_controller' => 'NeagMainBundle:Offers:list',  '_route' => 'offers_m',);
        }

        // feedback
        if ($pathinfo === '/feedback') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\FeedbackController::feedbackAction',  '_route' => 'feedback',);
        }

        // feedback_m
        if ($pathinfo === '/m/feedback') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\FeedbackController::feedbackAction',  '_route' => 'feedback_m',);
        }

        // user
        if ($pathinfo === '/user') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::indexAction',  '_route' => 'user',);
        }

        // user_m
        if ($pathinfo === '/m/user') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::indexAction',  '_route' => 'user_m',);
        }

        // user_info
        if (0 === strpos($pathinfo, '/user/info') && preg_match('#^/user/info/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_info')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::infoAction',));
        }

        // user_info_m
        if (0 === strpos($pathinfo, '/m/user/info') && preg_match('#^/m/user/info/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_info_m')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::infoAction',));
        }

        // user_login
        if ($pathinfo === '/user/login') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::loginAction',  '_route' => 'user_login',);
        }

        // user_login_m
        if ($pathinfo === '/m/user/login') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::loginAction',  '_route' => 'user_login_m',);
        }

        if (0 === strpos($pathinfo, '/user')) {
            // user_ulogin
            if (0 === strpos($pathinfo, '/user/ulogin') && preg_match('#^/user/ulogin/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
                return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_ulogin')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::uloginAction',));
            }

            // user_logout
            if ($pathinfo === '/user/logout') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::logoutAction',  '_route' => 'user_logout',);
            }

        }

        // user_logout_m
        if ($pathinfo === '/m/user/logout') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::logoutAction',  '_route' => 'user_logout_m',);
        }

        // user_profile
        if ($pathinfo === '/user/profile') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::profileAction',  '_route' => 'user_profile',);
        }

        // user_profile_m
        if ($pathinfo === '/m/user/profile') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::profileAction',  '_route' => 'user_profile_m',);
        }

        // user_settings
        if ($pathinfo === '/user/settings') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::settingsAction',  '_route' => 'user_settings',);
        }

        // user_settings_m
        if ($pathinfo === '/m/user/settings') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::settingsAction',  '_route' => 'user_settings_m',);
        }

        // user_avatar
        if ($pathinfo === '/user/avatar') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::avatarAction',  '_route' => 'user_avatar',);
        }

        // user_avatar_m
        if ($pathinfo === '/m/user/avatar') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::avatarAction',  '_route' => 'user_avatar_m',);
        }

        // user_pass_change
        if ($pathinfo === '/user/pass_change') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passChangeAction',  '_route' => 'user_pass_change',);
        }

        // user_pass_change_m
        if ($pathinfo === '/m/user/pass_change') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passChangeAction',  '_route' => 'user_pass_change_m',);
        }

        // user_email_change
        if ($pathinfo === '/user/email_change') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeAction',  '_route' => 'user_email_change',);
        }

        // user_email_change_m
        if ($pathinfo === '/m/user/email_change') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeAction',  '_route' => 'user_email_change_m',);
        }

        // user_email_change_confirm
        if (0 === strpos($pathinfo, '/user/email_change_confirm') && preg_match('#^/user/email_change_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_email_change_confirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeConfirmAction',));
        }

        // user_email_change_confirm_m
        if (0 === strpos($pathinfo, '/m/user/email_change_confirm') && preg_match('#^/m/user/email_change_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_email_change_confirm_m')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::emailChangeConfirmAction',));
        }

        // vk_logout
        if ($pathinfo === '/vk_logout') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\SecuredController::vkLogoutAction',  '_route' => 'vk_logout',);
        }

        if (0 === strpos($pathinfo, '/fb_log')) {
            // fb_login
            if ($pathinfo === '/fb_login') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::fbLoginAction',  '_route' => 'fb_login',);
            }

            // fb_logout
            if ($pathinfo === '/fb_logout') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::fbLogoutAction',  '_route' => 'fb_logout',);
            }

        }

        // registration
        if ($pathinfo === '/registration') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationAction',  '_route' => 'registration',);
        }

        // registration_m
        if ($pathinfo === '/m/registration') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationAction',  '_route' => 'registration_m',);
        }

        // registration_next
        if ($pathinfo === '/registration_next') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationNextAction',  '_route' => 'registration_next',);
        }

        // registration_next_m
        if ($pathinfo === '/m/registration_next') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationNextAction',  '_route' => 'registration_next_m',);
        }

        // registration_confirm
        if (0 === strpos($pathinfo, '/registration_confirm') && preg_match('#^/registration_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'registration_confirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationConfirmAction',));
        }

        // registration_confirm_m
        if (0 === strpos($pathinfo, '/m/registration_confirm') && preg_match('#^/m/registration_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'registration_confirm_m')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationConfirmAction',));
        }

        // registration_email_resend
        if ($pathinfo === '/registration_email_resend') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationEmailResendAction',  '_route' => 'registration_email_resend',);
        }

        // registration_email_resend_m
        if ($pathinfo === '/m/registration_email_resend') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::registrationEmailResendAction',  '_route' => 'registration_email_resend_m',);
        }

        // pass_lost
        if ($pathinfo === '/pass_lost') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostAction',  '_route' => 'pass_lost',);
        }

        // pass_lost_m
        if ($pathinfo === '/m/pass_lost') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostAction',  '_route' => 'pass_lost_m',);
        }

        // pass_lost_confirm
        if (0 === strpos($pathinfo, '/pass_lost_confirm') && preg_match('#^/pass_lost_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'pass_lost_confirm')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostConfirmAction',));
        }

        // pass_lost_confirm_m
        if (0 === strpos($pathinfo, '/m/pass_lost_confirm') && preg_match('#^/m/pass_lost_confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'pass_lost_confirm_m')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\UserController::passLostConfirmAction',));
        }

        // fileadmin_download
        if ($pathinfo === '/fileadmin/download') {
            return array (  '_controller' => 'Neag\\MainBundle\\Controller\\FileadminController::downloadAction',  '_route' => 'fileadmin_download',);
        }

        if (0 === strpos($pathinfo, '/admin')) {
            // admin_menu
            if ($pathinfo === '/admin_menu') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\BlockController::admin_menuAction',  '_route' => 'admin_menu',);
            }

            // admin
            if ($pathinfo === '/admin') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminController::mainAction',  '_route' => 'admin',);
            }

            if (0 === strpos($pathinfo, '/admin/menu_item')) {
                // admin_menu_item_edit
                if (0 === strpos($pathinfo, '/admin/menu_item/edit') && preg_match('#^/admin/menu_item/edit(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_menu_item_edit')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::editAction',  'id' => NULL,));
                }

                // admin_menu_item_list
                if (preg_match('#^/admin/menu_item(?:/(?P<parent_id>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_menu_item_list')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::listAction',  'parent_id' => NULL,));
                }

                // admin_menu_item_rearrange
                if ($pathinfo === '/admin/menu_item_rearrange') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminMenuController::rearrangeAction',  '_route' => 'admin_menu_item_rearrange',);
                }

            }

            if (0 === strpos($pathinfo, '/admin/f')) {
                // admin_fileadmin
                if (0 === strpos($pathinfo, '/admin/fileadmin') && preg_match('#^/admin/fileadmin(?:/(?P<type>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_fileadmin')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminFileadminController::indexAction',  'type' => 'standalone',));
                }

                // admin_feedback
                if ($pathinfo === '/admin/feedback') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminFeedbackController::indexAction',  '_route' => 'admin_feedback',);
                }

            }

            if (0 === strpos($pathinfo, '/admin/user')) {
                // admin_user_edit
                if (0 === strpos($pathinfo, '/admin/user/edit') && preg_match('#^/admin/user/edit(?:/(?P<id>[^/]++))?$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_user_edit')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::editAction',  'id' => NULL,));
                }

                // admin_user_info
                if (0 === strpos($pathinfo, '/admin/user/info') && preg_match('#^/admin/user/info/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_user_info')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::infoAction',));
                }

                // admin_user_list
                if ($pathinfo === '/admin/user') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminUserController::listAction',  '_route' => 'admin_user_list',);
                }

            }

            // admin_config
            if ($pathinfo === '/admin/config') {
                return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminConfigController::indexAction',  '_route' => 'admin_config',);
            }

            if (0 === strpos($pathinfo, '/admin/lang_var')) {
                // admin_lang_var_edit
                if (preg_match('#^/admin/lang_var/(?P<id>[^/]++)$#s', $pathinfo, $matches)) {
                    return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin_lang_var_edit')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminLangVarController::editAction',));
                }

                // admin_lang_var_list
                if ($pathinfo === '/admin/lang_var') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminLangVarController::listAction',  '_route' => 'admin_lang_var_list',);
                }

            }

            if (0 === strpos($pathinfo, '/admin/cache')) {
                // admin_cache
                if ($pathinfo === '/admin/cache') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminCacheController::indexAction',  '_route' => 'admin_cache',);
                }

                // admin_cache_clear_all
                if ($pathinfo === '/admin/cache/clear_all') {
                    return array (  '_controller' => 'Neag\\MainBundle\\Controller\\AdminCacheController::clear_allAction',  '_route' => 'admin_cache_clear_all',);
                }

            }

        }

        // page_alias_m
        if (0 === strpos($pathinfo, '/m') && preg_match('#^/m/(?P<alias>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'page_alias_m')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\PageController::showAliasAction',));
        }

        // page_alias
        if (preg_match('#^/(?P<alias>[^/]++)$#s', $pathinfo, $matches)) {
            return $this->mergeDefaults(array_replace($matches, array('_route' => 'page_alias')), array (  '_controller' => 'Neag\\MainBundle\\Controller\\PageController::showAliasAction',));
        }

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