Skip to content

Commit

Permalink
Redirect to overview after successful content edit.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Sep 23, 2013
1 parent efad07b commit 8744682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/code/form_content_edit_save.sub
Expand Up @@ -51,6 +51,6 @@ sub {

$code = $Db{content}->set_slice($CGI->{code}, %content);

return {code => $code, page => $page};
return {code => $code, page => $page, redirect => 1};
}
EOS

0 comments on commit 8744682

Please sign in to comment.