<commit_before><?xml version="1.0" encoding="UTF-8" ?>

<routes xmlns="http://symfony.com/schema/routing"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

    <!--Overrides the valum's upload routing to work with _locale -->
    <route id="_activate_theme" pattern="/backend/{_locale}/al_activateTheme/{themeName}/{activeLanguage}/{activePage}">
        <default key="_controller">AlphaLemonCmsBundle:Themes:activateTheme</default>
        <default key="_locale">en</default>
        <default key="activeLanguage">en</default>
        <default key="activePage">index</default>
    </route>

    <route id="_show_theme_fixer" pattern="/{_locale}/al_showThemeFixer">
        <default key="_controller">AlphaLemonCmsBundle:Themes:showThemeFixer</default>
        <default key="_locale">en</default>
    </route>

    <route id="_fix_theme" pattern="/{_locale}/al_fixTheme">
        <default key="_controller">AlphaLemonCmsBundle:Themes:fixTheme</default>
        <default key="_locale">en</default>
    </route>

    <!--
    <route id="_themes_upload_file" pattern="/backend/{_locale}/al_uploadFile">
        <default key="_controller">AlValumUploaderBundle:ValumUploader:upload</default>
        <requirement key="_method">POST</requirement>
    </route>

    <route id="_themes" pattern="/backend/{_locale}/al_showThemes">
        <default key="_controller">AlphaLemonCmsBundle:Themes:show</default>
        <default key="_locale">en</default>
    </route>

    <route id="_import_theme" pattern="/backend/{_locale}/al_importTheme">
        <default key="_controller">AlphaLemonCmsBundle:Themes:importTheme</default>
        <default key="_locale">en</default>
    </route>

    <route id="_extract_themes" pattern="/backend/{_locale}/al_extractTheme">
        <default key="_controller">AlphaLemonCmsBundle:Themes:extractThemes</default>
        <default key="_locale">en</default>
    </route>

    <route id="_remove_theme" pattern="/backend/{_locale}/al_removeTheme">
        <default key="_controller">AlphaLemonCmsBundle:Themes:removeTheme</default>
        <default key="_locale">en</default>
    </route>

    <route id="_install_assets" pattern="/backend/{_locale}/al_installAssets">
        <default key="_controller">AlphaLemonCmsBundle:Themes:installAssets</default>
    </route>-->

</routes><commit_msg>fixed themes management routes<commit_after><?xml version="1.0" encoding="UTF-8" ?>

<routes xmlns="http://symfony.com/schema/routing"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

    <route id="_activate_cms_theme" pattern="/backend/{_locale}/al_activateCmsTheme/{themeName}/{languageName}/{pageName}">
        <default key="_controller">AlphaLemonCmsBundle:Themes:activateCmsTheme</default>
        <default key="_locale">en</default>
        <default key="languageName">en</default>
        <default key="pageName">index</default>
    </route>

    <route id="_show_theme_fixer" pattern="/backend/{_locale}/al_showThemeFixer">
        <default key="_controller">AlphaLemonCmsBundle:Themes:showThemeFixer</default>
        <default key="_locale">en</default>
        <requirement key="_method">POST</requirement>
    </route>

    <route id="_fix_theme" pattern="/backend/{_locale}/al_fixTheme">
        <default key="_controller">AlphaLemonCmsBundle:Themes:fixTheme</default>
        <default key="_locale">en</default>
        <requirement key="_method">POST</requirement>
    </route>
</routes>
{'fraction_non_alphanumeric': 0.16420765027322404, 'fraction_numerical': 0.00546448087431694, 'mean_word_length': 4.606431852986217, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 2, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7230141', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1107, 'n_words': 135}