i am new to larvel.I tried to pass the variable from controller toview but it did not worked. i am getting an error:
"Whoops, looks like something went wrong."
code used in controller:
public function showWelcome()
{
return View::make('hello', array('theLocation' => 'NYC'));
}
Code in hello.blade.php:
<h1 class="highlight">Blade has arrived in .</h1>
can you tell me is there any syntax error in the above code and is there any possibility of debugging the error??
via Pullata Praveen