<commit_before><?php namespace Anomaly\UsersModule\Http\Controller\Admin;

use Anomaly\Streams\Platform\Http\Controller\AdminController;
use Illuminate\Routing\Redirector;

/**
 * Class HomeController
 *
 * @link          http://anomaly.is/streams-platform
 * @author        AnomalyLabs, Inc. <<EMAIL>>
 * @author        <NAME> <<EMAIL>>
 * @package       Anomaly\UsersModule\Http\Controller\Admin
 */
class HomeController extends AdminController
{

    /**
     * Redirect to the users home page.
     *
     * @param Redirector $redirect
     * @return \Illuminate\Http\RedirectResponse
     */
    public function index(Redirector $redirect)
    {
        return $redirect->to('admin/dashboard');
    }
}<commit_msg>redirect to HOME<commit_after><?php namespace Anomaly\UsersModule\Http\Controller\Admin;

use Anomaly\Streams\Platform\Http\Controller\AdminController;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Routing\Redirector;

/**
 * Class HomeController
 *
 * @link          http://anomaly.is/streams-platform
 * @author        AnomalyLabs, Inc. <<EMAIL>>
 * @author        <NAME> <<EMAIL>>
 * @package       Anomaly\UsersModule\Http\Controller\Admin
 */
class HomeController extends AdminController
{

    /**
     * Redirect to the users home page.
     *
     * @param Redirector $redirect
     * @param Repository $config
     * @return \Illuminate\Http\RedirectResponse
     */
    public function index(Redirector $redirect, Repository $config)
    {
        return $redirect->to($config->get('anomaly.module.users::paths.cp_home', 'admin/dashboard'));
    }
}
{'fraction_non_alphanumeric': 0.12445003142677562, 'fraction_numerical': 0.0, 'mean_word_length': 3.2116402116402116, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3303865', 'n_tokens_mistral': 466, 'n_tokens_neox': 464, 'n_words': 92}