<commit_before><?php
/**
 * Copyright Zikula Foundation 2014 - Zikula Application Framework
 *
 * This work is contributed to the Zikula Foundation under one or more
 * Contributor Agreements and licensed to You under the following license:
 *
 * @license MIT
 *
 * Please see the NOTICE file distributed with this source code for further
 * information regarding copyright and licensing.
 */

namespace Zikula\Module\CoreManagerModule\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

/**
 * UI operations executable by general users.
 */
class UserController extends \Zikula_AbstractController
{
    /**
     * @Route("/")
     */
    public function viewCoreReleasesAction()
    {
        $releaseManager = $this->get('zikulacoremanagermodule.releasemanager');
        $releases = $releaseManager->getSignificantReleases(false);
        $this->view->assign('releases', $releases);

        return $this->response($this->view->fetch('User/viewreleases.tpl'));
    }
}<commit_msg>Use /download as core download route.<commit_after><?php
/**
 * Copyright Zikula Foundation 2014 - Zikula Application Framework
 *
 * This work is contributed to the Zikula Foundation under one or more
 * Contributor Agreements and licensed to You under the following license:
 *
 * @license MIT
 *
 * Please see the NOTICE file distributed with this source code for further
 * information regarding copyright and licensing.
 */

namespace Zikula\Module\CoreManagerModule\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

/**
 * UI operations executable by general users.
 */
class UserController extends \Zikula_AbstractController
{
    /**
     * @Route("/download", options={"zkNoBundlePrefix" = 1})
     */
    public function viewCoreReleasesAction()
    {
        $releaseManager = $this->get('zikulacoremanagermodule.releasemanager');
        $releases = $releaseManager->getSignificantReleases(false);
        $this->view->assign('releases', $releases);

        return $this->response($this->view->fetch('User/viewreleases.tpl'));
    }
}
{'fraction_non_alphanumeric': 0.10645472061657033, 'fraction_numerical': 0.004335260115606936, 'mean_word_length': 4.0535279805352795, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5297865', 'n_tokens_mistral': 580, 'n_tokens_neox': 543, 'n_words': 157}