Commit ea339979 authored by Christian Giupponi's avatar Christian Giupponi

Pass to the view

parent 45f70f67
......@@ -48,7 +48,7 @@ class PublicController extends BasePublicController
$alternate = $this->getAlternateMetaData($page);
return view($template, compact('page'));
return view($template, compact('page', 'alternate'));
}
/**
......@@ -64,7 +64,7 @@ class PublicController extends BasePublicController
$alternate = $this->getAlternateMetaData($page);
return view($template, compact('page'));
return view($template, compact('page', 'alternate'));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment