Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register all of the routes for an application.
  9. | It's a breeze. Simply tell Laravel the URIs it should respond to
  10. | and give it the controller to call when that URI is requested.
  11. |
  12. */
  13.  
  14. Route::resource('/', 'AppController');
  15. Route::get('/delete/{id}', ['uses' => 'AppController@delete', 'as' => 'delete']);
  16. Route::get('/formUpdate/{id}', ['uses' => 'AppController@showUpdate', 'as' => 'formUpdate']);
  17. Route::put('/doUpdate', ['uses' => 'AppController@doUpdate', 'as' => 'doUpdate']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement