Permalink
Browse files

Redirect to flag you were moderating after update.

  • Loading branch information...
1 parent 44c22af commit eed85e0c6b368f77aa030afe6db7616203c41740 @reecefowell reecefowell committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Controller/FlagController.php
View
2 Controller/FlagController.php
@@ -159,7 +159,7 @@ public function markFlagAction($flag_id)
{
$this->container->get('session')->setFlash('notice', $this->container->get('translator')->trans('flash.flag.update.success', array('%flag_id%' => $flag_id), 'CCDNForumModeratorBundle'));
- return new RedirectResponse($this->container->get('router')->generate('cc_moderator_forum_flagged_show_all', array() ));
+ return new RedirectResponse($this->container->get('router')->generate('cc_moderator_forum_flag_show', array('flag_id' => $flag_id) ));
}
else
{

0 comments on commit eed85e0

Please sign in to comment.