From 6a01dc5d975196f595c601bf27b33205e65f6364 Mon Sep 17 00:00:00 2001 From: Gergely POLONKAI Date: Sat, 6 Oct 2012 13:22:24 +0200 Subject: [PATCH] Renamed newBlogPost to editBlogPost --- src/GergelyPolonkai/FrontBundle/Controller/AdminController.php | 2 +- .../Admin/{newBlogPost.html.twig => editBlogPost.html.twig} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/GergelyPolonkai/FrontBundle/Resources/views/Admin/{newBlogPost.html.twig => editBlogPost.html.twig} (100%) diff --git a/src/GergelyPolonkai/FrontBundle/Controller/AdminController.php b/src/GergelyPolonkai/FrontBundle/Controller/AdminController.php index 59c86d7..f18e9b1 100644 --- a/src/GergelyPolonkai/FrontBundle/Controller/AdminController.php +++ b/src/GergelyPolonkai/FrontBundle/Controller/AdminController.php @@ -55,7 +55,7 @@ class AdminController extends Controller * @Route("/blog/post/{id}", name="GergelyPolonkaiFrontBundle_adminEditBlogPost", defaults={"id": null}) * @Template */ - public function newBlogPostAction($id = null) + public function editBlogPostAction($id = null) { if (is_numeric($id)) { $post = $this->getDoctrine()->getRepository('GergelyPolonkaiFrontBundle:Post')->findOneById($id); diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/newBlogPost.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/editBlogPost.html.twig similarity index 100% rename from src/GergelyPolonkai/FrontBundle/Resources/views/Admin/newBlogPost.html.twig rename to src/GergelyPolonkai/FrontBundle/Resources/views/Admin/editBlogPost.html.twig