<commit_before><?php

Route::group(
    ['prefix'   =>  'lockdown'],
    function() {
        Route::get(
            '/', 
            [
                'as'    =>  'lockdown.home',
                function() {
                    return \View::make('lockdown::pages.home');
                },
            ]
        );

        Route::group(
            ['prefix'   =>  'roles'],
            function() {
                Route::get(
                    '/',
                    [
                        'as'    =>  'lockdown.roles',
                        function () {
                            $lockdown   =   App::make('lockdown');
                            $roles      =   $lockdown->findAllRoles();
                            dd($roles);
                            return Response::json([]);
                        },
                    ]
                );

                Route::get(
                    '/create', 
                    [
                        'as'    =>  'lockdown.roles.create', 
                        function () {
                            return \View::make('lockdown::pages.create-role');
                        },
                    ]
                );

                Route::post(
                    '/create',
                    [
                        'as'    =>  'lockdown.roles.create.store',
                        function () {
                            return 'In Development';
                        }
                    ]
                );<commit_msg>layout changes<commit_after><?php

Route::group(
    ['prefix'   =>  'lockdown'],
    function() {
        Route::get(
            '/', 
            [
                'as'    =>  'lockdown.home',
                function() {
                    return \View::make('lockdown::pages.home');
                },
            ]
        );

        Route::group(
            ['prefix'   =>  'roles'],
            function() {
                Route::get(
                    '/',
                    [
                        'as'    =>  'lockdown.roles',
                        function () {
                            $lockdown   =   App::make('lockdown');
                            $roles      =   $lockdown->findAllRoles();
                            $dump       =   [];
                            foreach ($roles as $key => $role) {
                                $dump[] =   $role->permissions();
                            }
                            dd($dump);
                            return Response::json([]);
                        },
                    ]
                );

                Route::get(
                    '/create', 
                    [
                        'as'    =>  'lockdown.roles.create', 
                        function () {
                            return \View::make('lockdown::pages.create-role');
                        },
                    ]
                );

                Route::post(
                    '/create',
                    [
                        'as'    =>  'lockdown.roles.create.store',
                        function () {
                            return 'In Development';
                        }
                    ]
                );
{'fraction_non_alphanumeric': 0.12231100184388445, 'fraction_numerical': 0.0, 'mean_word_length': 0.5901319003419638, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '177272', 'n_tokens_mistral': 758, 'n_tokens_neox': 689, 'n_words': 91}