<?php
/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('form','students@get_form');
Route::post('insert','students@store');
Route::get('test',function(){
return view('pages.test');
});
Route::get('about',[
'as'=>'about',
'uses'=>'PagesController@getabout'
]
);
Route::get('contact',function(){
return view('pages.contact');
});
Route::get('help',function(){
return view('pages.help');
});
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/
Route::group(['middleware' => ['web']], function () {
Route::get('/', function () {
return view('welcome');
});
Route::get('first','FirstController@index');
// Place all your web routes here...(Cut all `Route` which are define in `Route file`, paste here)
Route::post('signup_info','FirstController@signup_info_fun');
Route::get('signup','HomeController@signup');
});