<commit_before><?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Auth::routes();

Route::prefix('admin')->group(function () {

	Route::get('/', 'Admin\DashboardController@index')->name('admin.dashboard');

	Route::prefix('builder')->group(function () {

		Route::resource('type', 'Admin\Object\TypeController', ['except' => [ 'index', 'show' ], 'as' => 'object']);
		Route::resource('types', 'Admin\Object\TypeController', ['only' => [ 'index' ], 'as' => 'object']);

		Route::prefix('{type}')->group(function () {
			Route::resource('taxonomy', 'Admin\Object\TaxonomyController', ['except' => [ 'index', 'show' ], 'as' => 'object']);
			Route::resource('taxonomies', 'Admin\Object\TaxonomyController', ['only' => [ 'index' ], 'as' => 'object']);
			// Route::resource('object_tag',      'ObjectTagController',      ['except' => [ 'show' ]]);
			// Route::resource('object',          'ObjectController',         ['except' => [ 'show' ]]);
		});

	});<commit_msg>Routes are now manually defined for object type/taxonomy. Were too messy<commit_after><?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Auth::routes();

Route::prefix('admin')->group(function () {

	Route::get('/', 'Admin\DashboardController@index')->name('admin.dashboard');

	Route::prefix('builder')->group(function () {

		Route::get('types',            'Admin\Object\TypeController@index')->name('object.types.index');
		Route::get('type/new',         'Admin\Object\TypeController@create')->name('object.type.create');
		Route::post('type/create',     'Admin\Object\TypeController@store')->name('object.type.store');
		Route::get('{type}/edit',      'Admin\Object\TypeController@edit')->name('object.type.edit');
		Route::patch('{type}/update',  'Admin\Object\TypeController@update')->name('object.type.update');
		Route::delete('{type}/delete', 'Admin\Object\TypeController@destroy')->name('object.type.destroy');

		Route::prefix('{type}')->group(function () {
			Route::get('taxonomies',           'Admin\Object\TaxonomyController@index')->name('object.taxonomies.index');
			Route::get('taxonomy/new',         'Admin\Object\TaxonomyController@create')->name('object.taxonomy.create');
			Route::post('taxonomy/create',     'Admin\Object\TaxonomyController@store')->name('object.taxonomy.store');
			Route::get('{taxonomy}/edit',      'Admin\Object\TaxonomyController@edit')->name('object.taxonomy.edit');
			Route::patch('{taxonomy}/update',  'Admin\Object\TaxonomyController@update')->name('object.taxonomy.update');
			Route::delete('{taxonomy}/delete', 'Admin\Object\TaxonomyController@destroy')->name('object.taxonomy.destroy');
			
			});
			// Route::resource('object_tag',      'ObjectTagController',      ['except' => [ 'show' ]]);
			// Route::resource('object',          'ObjectController',         ['except' => [ 'show' ]]);
		});

	});
{'fraction_non_alphanumeric': 0.2785714285714286, 'fraction_numerical': 0.0, 'mean_word_length': 3.2180722891566265, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '2795342', 'n_tokens_mistral': 983, 'n_tokens_neox': 934, 'n_words': 156}