);
//Set title
- $this->context['title'] = $this->translator->trans('Articles list');
+ $this->context['title']['page'] = $this->translator->trans('Articles list');
//Set description
$this->context['description'] = $this->translator->trans('Welcome to raphaël\'s developer diary article listing');
//With invalid slug
if ($slug !== $this->context['article']['slug']) {
//Redirect on correctly spelled article
- return $this->redirectToRoute('rapsys_blog_article_view', ['id' => $this->context['article']['id'], 'slug' => $this->context['article']['slug']], Response::HTTP_MOVED_PERMANENTLY);
+ return $this->redirectToRoute('rapsysblog_article_view', ['id' => $this->context['article']['id'], 'slug' => $this->context['article']['slug']], Response::HTTP_MOVED_PERMANENTLY);
}
//Set modified
);
//Set title
- $this->context['title'] = $this->context['article']['title'];
+ $this->context['title']['page'] = $this->context['article']['title'];
//Set description
$this->context['description'] = $this->context['article']['description'];
);
//Set title
- $this->context['title'] = $this->translator->trans('Keywords list');
+ $this->context['title']['page'] = $this->translator->trans('Keywords list');
//Set description
$this->context['description'] = $this->translator->trans('Welcome to raphaël\'s developer diary keyword listing');
//With invalid slug
if ($slug !== $this->context['keyword']['slug']) {
//Redirect on correctly spelled keyword
- return $this->redirectToRoute('rapsys_blog_keyword_view', ['id' => $this->context['keyword']['id'], 'slug' => $this->context['keyword']['slug']], Response::HTTP_MOVED_PERMANENTLY);
+ return $this->redirectToRoute('rapsysblog_keyword_view', ['id' => $this->context['keyword']['id'], 'slug' => $this->context['keyword']['slug']], Response::HTTP_MOVED_PERMANENTLY);
}
//Set modified
);
//Set title
- $this->context['title'] = $this->context['keyword']['title'];
+ $this->context['title']['page'] = $this->context['keyword']['title'];
//Set description
$this->context['description'] = $this->context['keyword']['description'];
);
//Set title
- $this->context['title'] = $this->translator->trans('Users list');
+ $this->context['title']['page'] = $this->translator->trans('Users list');
//Set description
$this->context['description'] = $this->translator->trans('Welcome to raphaël\'s developer diary user listing');
//With invalid slug
if ($slug !== $this->context['user']['slug']) {
//Redirect on correctly spelled user
- return $this->redirectToRoute('rapsys_blog_user_view', ['id' => $this->context['user']['id'], 'slug' => $this->context['user']['slug']], Response::HTTP_MOVED_PERMANENTLY);
+ return $this->redirectToRoute('rapsysblog_user_view', ['id' => $this->context['user']['id'], 'slug' => $this->context['user']['slug']], Response::HTTP_MOVED_PERMANENTLY);
}
//Set modified
);
//Set title
- $this->context['title'] = $this->context['user']['pseudonym'];
+ $this->context['title']['page'] = $this->context['user']['pseudonym'];
//Set description
//TODO: Add user creation ? Add a description field ?