This is student.php and my function for admin:
public function admin(Request $request){
if($request->isMethod(\'get\')){
retu
A view should an extension .blade.php
.
So your file that has the admin form should have the name admin.blade.php
Note :
If you have the view under any sub directory like somefolder/admin.blade.php
Then you should do like this
return \View::make('somefolder/admin');
Learn more about templating here :)