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.createdAt|date('m-d-Y :: H:i') }} by {{ post.user.name }}

{{ post.content|insert_code_chunks }}