Skip to content

Commit

Permalink
rutas pago
Browse files Browse the repository at this point in the history
  • Loading branch information
diegordgz8 committed Jul 9, 2021
1 parent 5641efc commit 51f1b4d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/Http/Controllers/CtrPago.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace App\Http\Controllers;

class CtrPago extends Controller
{
public function index() {
return view('pago.index');
}

// public function show()
}
2 changes: 2 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,6 @@

Route::get('visita/{visita}', [CtrVisita::class, 'show'])->name('visita.show');

Route::get('pagos', [CtrPago::class, 'index'])->name('pago.index');

Route::get('pagos/{pago}', [CtrPago::class, 'show'])->name('pago.show');

0 comments on commit 51f1b4d

Please sign in to comment.