Renamed newBlogPost to editBlogPost

This commit is contained in:
Gergely POLONKAI 2012-10-06 13:22:24 +02:00
parent 04da58137a
commit 6a01dc5d97
2 changed files with 1 additions and 1 deletions

View File

@ -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);