From df1a078bb9fac28c5d89f4041a95c65974920e47 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Sun, 16 Sep 2012 22:12:05 +0200 Subject: [PATCH] Fixed blog viewer route name according to naming conventions Signed-off-by: Gergely POLONKAI (W00d5t0ck) --- src/GergelyPolonkai/FrontBundle/Controller/BlogController.php | 2 +- .../FrontBundle/Resources/views/Admin/listBlog.html.twig | 2 +- .../FrontBundle/Resources/views/Blog/postViewer.html.twig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php b/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php index 40920f0..be4d3ff 100644 --- a/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php +++ b/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php @@ -48,7 +48,7 @@ class BlogController extends Controller } /** - * @Route("/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFront_blogViewPost") + * @Route("/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFrontBundle_blogViewPost") * @Template */ public function viewPostAction($year, $month, $day, $slug) diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig index d7e7806..b261ed8 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig @@ -21,7 +21,7 @@ {{ post.title }} {{ post.user.name }} {{ post.createdAt|date('m/d/Y') }} - Preview + Preview {% endfor %} diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/postViewer.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/postViewer.html.twig index b847317..8f86567 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/postViewer.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/postViewer.html.twig @@ -1,5 +1,5 @@
-

{% if title_links %}{% endif %}{{ post.title }}{% if title_links %}{% endif %}

+

{% if title_links %}{% endif %}{{ post.title }}{% if title_links %}{% endif %}

{{ post.content|insert_code_chunks }}