Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | Application Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register all of the routes for an application.
- | It's a breeze. Simply tell Laravel the URIs it should respond to
- | and give it the controller to call when that URI is requested.
- |
- */
- Route::resource('/', 'AppController');
- Route::get('/delete/{id}', ['uses' => 'AppController@delete', 'as' => 'delete']);
- Route::get('/formUpdate/{id}', ['uses' => 'AppController@showUpdate', 'as' => 'formUpdate']);
- Route::put('/doUpdate', ['uses' => 'AppController@doUpdate', 'as' => 'doUpdate']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement