<commit_before><?php return [

	'%admin%' => [
		'methods' => 'get|post',
		'before' => '@user\Models\Auth::authenticate',
		'subRoutes' => [
			'/' => ['controller' => '@system\System::dashboard'],
			'login' => ['controller' => '@user\Auth::login'],
			'logout' => ['controller' => '@user\Auth::logout'],
			'setting' => [
				'subRoutes' => [
					'general' => ['controller' => '@system\Setting::general', 'access' => 'system.change'],
					'themes' => [
						'subRoutes' => [
							'/' => ['controller' => '@system\Theme::index'],
							'customize' => ['controller' => '@system\Theme::customize', 'csrf'=>true],
							'custom-preview' => ['controller' => '@system\Theme::customPreview', 'csrf'=>true],
							
							'widget' => ['controller' => '@system\Widget::index'],
							'widget/delete' => ['controller' => '@system\Widget::delete'],
							'menus' => ['controller' => '@system\Menus::index'],
							'menus/save' => ['controller' => '@system\Menus::save'],
							'menus/delete' => ['controller' => '@system\Menus::delete'],
						]
					],
					
				]
			],

			'system' => [
				'subRoutes' => [
					'dashboard' => ['controller' => '@system\System::dashboard'],
					'log' => ['controller' => '@system\System::log'],
					'cache' => ['controller' => '@system\System::cache'],
					'drafterbit.js' => ['controller' => '@system\System::drafterbitJs'],
				],
			],
		],
	],

	'%admin%/setting/themes/widget/save' => [
		'controller' => '@system\Widget::save',
		'methods' => 'post'
	],

	'search' => [<commit_msg>clean system route<commit_after><?php return [

	'%admin%' => [
		'before'    => '@user\Models\Auth::authenticate',
		'methods'   => 'get|post',
		'subRoutes' => [
			'/'         => ['controller' => '@system\System::dashboard'],
			'login'     => ['controller' => '@user\Auth::login'],
			'logout'    => ['controller' => '@user\Auth::logout'],
			'setting'   => [
				'subRoutes' => [
					'general'   => ['controller' => '@system\Setting::general', 'access' => 'system.change'],
					'themes'    => [
						'subRoutes' => [
							'/'              => ['controller' => '@system\Theme::index'],
							'customize'      => ['controller' => '@system\Theme::customize',     'csrf'=>true],
							'custom-preview' => ['controller' => '@system\Theme::customPreview', 'csrf'=>true],
							
							'widget'         => ['controller' => '@system\Widget::index'],
							'widget/save'    => ['controller' => '@system\Widget::save', 'methods' => 'post'],
							'widget/delete'  => ['controller' => '@system\Widget::delete'],

							'menus'          => ['controller' => '@system\Menus::index'],
							'menus/save'     => ['controller' => '@system\Menus::save', 'methods' => 'posts'],
							'menus/delete'   => ['controller' => '@system\Menus::delete'],
						]
					]
					
				]
			],

			'system' => [
				'subRoutes' => [
					'dashboard'     => ['controller' => '@system\System::dashboard'],
					'log'           => ['controller' => '@system\System::log'],
					'cache'         => ['controller' => '@system\System::cache'],
					'drafterbit.js' => ['controller' => '@system\System::drafterbitJs'],
				],
			],
		],
	],

	'search' => [
{'fraction_non_alphanumeric': 0.2621758380771663, 'fraction_numerical': 0.0, 'mean_word_length': 3.013959390862944, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 102, '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': '5322396', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1018, 'n_words': 144}