Laravel Passing variable not working
- by Friend
Hello People here is my code i have used in controller...
public function bulk()
{
return View::make('bulk')->with('message','hii there');
}
my route file contains...
Route::get('bulk',array('uses'=>'HomeController@bulk'))->before('auth');
In my view Iam testing it by ...
@if(Session::has('message'))
Present
@else
not Present…