Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
Route updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mlantz committed Mar 23, 2016
1 parent ca25930 commit fa18e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Templates/ApiRoutes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
|--------------------------------------------------------------------------
*/

Route::resource('api/v1/_lower_casePlural_', 'Api\_camel_case_Controller');
Route::group(['middleware' => 'jwt.auth'], function(){
Route::resource('api/v1/_lower_casePlural_', 'Api\_camel_case_Controller');
});
1 change: 0 additions & 1 deletion src/Templates/Routes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
|--------------------------------------------------------------------------
*/

Route::resource('api/v1/_lower_casePlural_', 'Api\_camel_case_Controller');
Route::resource('_lower_casePlural_', '_camel_case_Controller');
Route::post('_lower_casePlural_/search', '_camel_case_Controller@search');
Route::get('_lower_casePlural_/{id}/delete', [
Expand Down

0 comments on commit fa18e79

Please sign in to comment.