In my page controller I have
$this->layout->content = View::make('authentication/login')->with('page_title','title');
I am using a blade file for my template. In the head of the html, I have
<title>{{$page_title}}</title>
I get an error that $page_title is undefined.
What I want ideally is a $data=array('page_title'=>'Login','second_item'=>'value').... But as I cannot get the basic passing of a variable to a view working, I am sticking with that first of all.