Renamed newBlogPost to editBlogPost
This commit is contained in:
parent
04da58137a
commit
6a01dc5d97
@ -55,7 +55,7 @@ class AdminController extends Controller
|
|||||||
* @Route("/blog/post/{id}", name="GergelyPolonkaiFrontBundle_adminEditBlogPost", defaults={"id": null})
|
* @Route("/blog/post/{id}", name="GergelyPolonkaiFrontBundle_adminEditBlogPost", defaults={"id": null})
|
||||||
* @Template
|
* @Template
|
||||||
*/
|
*/
|
||||||
public function newBlogPostAction($id = null)
|
public function editBlogPostAction($id = null)
|
||||||
{
|
{
|
||||||
if (is_numeric($id)) {
|
if (is_numeric($id)) {
|
||||||
$post = $this->getDoctrine()->getRepository('GergelyPolonkaiFrontBundle:Post')->findOneById($id);
|
$post = $this->getDoctrine()->getRepository('GergelyPolonkaiFrontBundle:Post')->findOneById($id);
|
||||||
|
Loading…
Reference in New Issue
Block a user