Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
- Route::get('/', function () {
- return view('welcome');
- });
- Route::get('sistema/productos','ProductosController@index');
- Route::get('sistema/productos/create','ProductosController@create');
- Route::post('sistema/productos','ProductosController@store');
- Route::get('sistema/cliente','ClienteController@index');
- Route::get('sistema/cliente/create','ClienteController@create');
- Route::post('sistema/cliente','ClienteController@store');
- Route::get('sistema/{cliente}/edit', 'ClienteController@edit');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement