Fix the api controller generation

This commit is contained in:
Nabeel Shahzad
2018-06-22 08:31:15 -05:00
parent 5b227c3a60
commit 230d3bebd3
3 changed files with 8 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
* This is publicly accessible
*/
Route::group(['middleware' => []], function() {
Route::get('/', '$STUDLY_NAME$Controller@index');
Route::get('/', 'ApiController@index');
});
/**
@@ -13,5 +13,5 @@ Route::group(['middleware' => []], function() {
Route::group(['middleware' => [
'api.auth'
]], function() {
Route::get('/hello', '$STUDLY_NAME$Controller@hello');
Route::get('/hello', 'ApiController@hello');
});