<?php
/**
 * Routes for : DummyModuleName
 */
Route::group(['namespace' => 'route_namespace', 'prefix' => 'admin', 'as' => 'admin.', 'middleware' => 'admin'], function () {
	@startNamespace
	Route::group( ['namespace' => 'DummyModel'], function () {
	    Route::get('dummy_name', 'DummyController@index')->name('dummy_name.index');
	    @startCreateRoute::get('dummy_name/create', 'DummyController@create')->name('dummy_name.create');
	    Route::post('dummy_name', 'DummyController@store')->name('dummy_name.store');@endCreate
	    @startEditRoute::get('dummy_name/{dummy_argument_name}/edit', 'DummyController@edit')->name('dummy_name.edit');
	    Route::patch('dummy_name/{dummy_argument_name}', 'DummyController@update')->name('dummy_name.update');@endEdit
	    @startDeleteRoute::delete('dummy_name/{dummy_argument_name}', 'DummyController@destroy')->name('dummy_name.destroy');@endDelete
	    //For Datatable
	    Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
	});
	@endNamespace@startWithoutNamespace
	Route::get('dummy_name', 'DummyController@index')->name('dummy_name.index');
	@startCreateRoute::get('dummy_name/create', 'DummyController@create')->name('dummy_name.create');
	Route::post('dummy_name', 'DummyController@store')->name('dummy_name.store');@endCreate
	@startEditRoute::get('dummy_name/{dummy_argument_name}/edit', 'DummyController@edit')->name('dummy_name.edit');
	Route::patch('dummy_name/{dummy_argument_name}', 'DummyController@update')->name('dummy_name.update');@endEdit
	@startDeleteRoute::delete('dummy_name/{dummy_argument_name}', 'DummyController@destroy')->name('dummy_name.destroy');@endDelete
	//For Datatable
	Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
@endWithoutNamespace
});