Created
April 21, 2020 14:55
-
-
Save Cerwyn/22725f97e9c35a8403b82601637f7aff to your computer and use it in GitHub Desktop.
generalizing-response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Http\Request; | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | API Routes | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here is where you can register API routes for your application. These | |
| | routes are loaded by the RouteServiceProvider within a group which | |
| | is assigned the "api" middleware group. Enjoy building your API! | |
| | | |
| */ | |
| Route::resource('users', 'User\UserController', ['except'=>['create','update','edit']]); | |
| Route::resource('login', 'User\UserLoginController',['only'=>['store']]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment