2016-12-08 17:09:45 +02:00

12 lines
414 B
Plaintext
Executable File

<?php
Route::group(['middleware' => 'auth', 'prefix' => '$LOWER_NAME$', 'namespace' => '$MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers'], function()
{
Route::get('/', '$STUDLY_NAME$Controller@index');
});
Route::group(['middleware' => 'auth', 'namespace' => '$MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers'], function()
{
Route::get('api/$LOWER_NAME$', '$STUDLY_NAME$Controller@getDatatable');
});