PageRenderTime 32ms CodeModel.GetById 17ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/routes/web.php

https://bitbucket.org/ErickJoaquin/pruebainformatik
PHP | 34 lines | 20 code | 4 blank | 10 comment | 0 complexity | 067677bc1c7a507afeb710188802abde MD5 | raw file
 1<?php
 2
 3/*
 4|--------------------------------------------------------------------------
 5| Web Routes
 6|--------------------------------------------------------------------------
 7|
 8| Here is where you can register web routes for your application. These
 9| routes are loaded by the RouteServiceProvider within a group which
10| contains the "web" middleware group. Now create something great!
11|
12*/
13
14Route::get('/', function () {
15    return view('welcome');
16});
17
18Auth::routes();
19
20Route::get('/home', 'HomeController@index')->name('home');
21Route::get('/registrarEstudiantes', ['middleware' => 'auth', 'uses'=>'EscuelaController@Estudiantes']);
22Route::post('/registrarEstudiantes', ['middleware' => 'auth', 'uses'=>'EscuelaController@registrarEstudiantes']);
23Route::get('/listarEstudiantes', ['middleware' => 'auth', 'uses'=>'EscuelaController@listarEstudiantes']);
24Route::get('/asignarAsignatura', ['middleware' => 'auth', 'uses'=>'EscuelaController@asignatura']);
25Route::post('/asignarAsignatura', ['middleware' => 'auth', 'uses'=>'EscuelaController@asignarAsignatura']);
26Route::get('/calificaciones', ['middleware' => 'auth', 'uses'=>'EscuelaController@calificaciones']);
27Route::get('/cancelarNota', ['middleware' => 'auth', 'uses'=>'EscuelaController@cancelarNota']);
28Route::post('/cambiarNote', ['middleware' => 'auth', 'uses'=>'EscuelaController@cambiarNote']);
29Route::get('/cambiarNota', ['middleware' => 'auth', 'uses'=>'EscuelaController@cambiarNota']);
30Route::get('/asignarNota', ['middleware' => 'auth', 'uses'=>'EscuelaController@asignarNota']);
31Route::post('/asignarNota', ['middleware' => 'auth', 'uses'=>'EscuelaController@asignarNote']);
32Route::get('/estudianteAsignatura', ['middleware' => 'auth', 'uses'=>'EscuelaController@estudianteAsignatura']);
33Route::get('/estudiantesCalificaciones','EscuelaController@estudiantesCali');
34Route::post('/estudiantesCalificaciones', 'EscuelaController@estudiantesCalificaciones');