<commit_before><?php

if ( str_contains( app()->version(), '5.2.' ) ){
	Route::group(['middleware' => 'web'], function () {
		Route::resource('amazo', 'Smarch\Amazo\Controllers\AmazoController');
	});
} else {
	Route::resource('amazo', 'Smarch\Amazo\Controllers\AmazoController');
}<commit_msg>Routes file refactor<commit_after><?php
Route::group( [
	'middleware'=> config('amazo.route.middleware'),
	'prefix'	=> config('amazo.route.prefix'),
	'as'		=> config('amazo.route.as') ], function () {
		Route::resource('amazo', 'Smarch\Amazo\Controllers\AmazoController',
			['names' => [
	    		'create'	=> 'create',
	    		'destroy'	=> 'destroy',
	    		'edit'		=> 'edit',
	    		'index'		=> 'index',
	    		'show'		=> 'show',
	    		'store'		=> 'store',
	    		'update'	=> 'update'
				]
			]
		);
	}
);
{'fraction_non_alphanumeric': 0.23375, 'fraction_numerical': 0.0025, 'mean_word_length': 3.825301204819277, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3253611', 'n_tokens_mistral': 321, 'n_tokens_neox': 309, 'n_words': 41}