<commit_before><?php

/**
 * SilverEngine  - PHP MVC framework
 *
 * @package   SilverEngine
 * @author    SilverEngine Team
 * @copyright 2015-2017
 * @license   MIT
 * @link      https://github.com/SilverEngine/Framework
 */

namespace App\Routes;

use Silver\Core\Route;

Route::get('/', 'Index@index', 'home');

Route::get('/generating', 'Generating@index', 'unguard');
Route::post('/generating', 'Generating@generate', 'unguard');
Route::post('/generating/datapdf', 'Generating@dataPDF', 'unguard');
Route::post('/generating/products', 'Generating@products', 'unguard');
Route::post('/generating/clients', 'Generating@clients', 'unguard');
Route::post('/generating/datamodal', 'Generating@dataModal', 'unguard');
Route::post('/generating/selectedproducts', 'Generating@selectedProducts', 'unguard');

Route::get('/products', 'Products@index', 'unguard');
Route::get('/products/form/{id?}', 'Products@form', 'unguard');
Route::post('/products/form/{id?}', 'Products@postForm');
Route::post('/products/delete', 'Products@postDelete');

Route::get('/clients', 'Clients@index', 'unguard');
Route::get('/clients/form/{id?}', 'Clients@form', 'unguard');
Route::post('/clients/form/{id?}', 'Clients@postForm');
Route::post('/clients/delete', 'Clients@postDelete');

Route::get('/receipts', 'Receipts@index', 'unguard');
Route::post('/receipts/delete', 'Receipts@postDelete', 'unguard');

Route::get('/settings', 'Settings@index', 'unguard');

<commit_msg>Agrupación de las rutas<commit_after><?php

/**
 * SilverEngine  - PHP MVC framework
 * @package   SilverEngine
 * @author    SilverEngine Team
 * @copyright 2015-2017
 * @license   MIT
 * @link      https://github.com/SilverEngine/Framework
 */

namespace App\Routes;

use Silver\Core\Route;

Route::get('/', 'Index@index', 'home');

Route::group(['prefix' => 'generating'], function() {
    Route::get('/', 'Generating@index', 'unguard');
    Route::post('/', 'Generating@generate', 'unguard');
    Route::post('/datapdf', 'Generating@dataPDF', 'unguard');
    Route::post('/products', 'Generating@products', 'unguard');
    Route::post('/clients', 'Generating@clients', 'unguard');
    Route::post('/datamodal', 'Generating@dataModal', 'unguard');
    Route::post('/selectedproducts', 'Generating@selectedProducts', 'unguard');
});

Route::group(['prefix' => 'products'], function() {
    Route::get('/', 'Products@index', 'unguard');
    Route::get('/form/{id?}', 'Products@form', 'unguard');
    Route::post('/form/{id?}', 'Products@postForm');
    Route::post('/delete', 'Products@postDelete');
});

Route::group(['prefix' => 'clients'], function() {
    Route::get('/', 'Clients@index', 'unguard');
    Route::get('/form/{id?}', 'Clients@form', 'unguard');
    Route::post('/form/{id?}', 'Clients@postForm');
    Route::post('/delete', 'Clients@postDelete');
});

Route::group(['prefix' => 'receipts'], function() {
    Route::get('/', 'Receipts@index', 'unguard');
    Route::post('/delete', 'Receipts@postDelete', 'unguard');
});

Route::get('/settings', 'Settings@index', 'unguard');


{'fraction_non_alphanumeric': 0.23982939632545933, 'fraction_numerical': 0.005249343832020997, 'mean_word_length': 6.547029702970297, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6769293', 'n_tokens_mistral': 1032, 'n_tokens_neox': 1003, 'n_words': 161}