Skip to content

Commit

Permalink
Pass to the view
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiupponi committed Aug 2, 2018
1 parent 45f70f6 commit ea33997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Page/Http/Controllers/PublicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function uri($slug)

$alternate = $this->getAlternateMetaData($page);

return view($template, compact('page'));
return view($template, compact('page', 'alternate'));
}

/**
Expand All @@ -64,7 +64,7 @@ public function homepage()

$alternate = $this->getAlternateMetaData($page);

return view($template, compact('page'));
return view($template, compact('page', 'alternate'));
}

/**
Expand Down

0 comments on commit ea33997

Please sign in to comment.