Permalink
Browse files

First little commit, Redicrection rectification

No need to use a view for and javascript for this
redirection(created.html.twig)
  • Loading branch information...
1 parent a56bb8c commit 12cd39e4412eac3081425a90de0ad6b276ac574c inalgnu committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Rizeway/BloginyBundle/Controller/PageController.php
@@ -83,7 +83,7 @@ public function newAction()
$this->get('session')->setFlash('notice', 'Your page has been created successfully!');
- return $this->render('BloginyBundle:Page:created.html.twig', array('page' => $page));
+ return $this->redirect($this->generateUrl('user_dashboard'));
}
}

0 comments on commit 12cd39e

Please sign in to comment.