Skip to content

Commit

Permalink
Docs: meta docs updated, use "getUrl" instead of "getURL"
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroendesloovere committed Jan 25, 2018
1 parent c68efdb commit 27f1b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/05. module guide/18. meta_data_and_seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $builder->addEventSubscriber(
'Pages',
'Detail',
'pages.repository.page',
'getURL',
'getUrl',
[
'getData.getLocale',
'getData.getPageId',
Expand All @@ -45,7 +45,7 @@ $builder->addEventListener(
'detail_url' => Model::getUrlForBlock('Pages', 'Detail'),
'base_field_name' => 'name',
'generate_url_callback_class' => 'pages.repository.page',
'generate_url_callback_method' => 'getURL',
'generate_url_callback_method' => 'getUrl',
'generate_url_callback_parameters' => [
$event->getData()->getLocale(),
],
Expand Down

0 comments on commit 27f1b57

Please sign in to comment.