Commit f30f9c78 authored by Alfonso Rafael Solis Rangel's avatar Alfonso Rafael Solis Rangel
Browse files

Correciones

parent 01bb6926
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ class ProfesionController extends Controller
    public function index()
    {
        $profesiones = Profesion::all();
        return view('catalogos.profesion.index', compact('profesiones'));
        return view('adminGen.catalagos.profesion', compact('profesiones'));
    }

    public function store(Request $request)
+0 −0

File moved.

+3 −3
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
                            </button>
                        </div>
                        <div class="p-5">
                            <form action="{{ route('catalogos.profesion.update') }}" method="PUT">
                            <form action="" method="">
                                @csrf
                                <div class="relative mb-4">
                                    <label for="nombreEditar">Nombre</label>
@@ -140,7 +140,7 @@
    <script src="/assets/js/highlight.min.js"></script>

    <script>
        const profesion = @json($profesion);
        const profesiones = @json($profesiones);
        const data = profesion.map(pro => [pro.id, pro.nombre, pro.abreviatura, renderActions(pro.id, pro.nombre, pro.abreviatura)]);

        window.toggle = function() {