Can anyone have a look at this, cant figure out why the last line is causing the following error:
syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'
public function show($id)
{
$post = Post::find($id);
$date = $post->created_at;
setlocale(LC_TIME, 'GB');
$date = $date->formatlocalized('%A %d %B %Y');
return View::make('posts.show')->('post', $post)with->('date', $date);
}