fix: redirect to a Story’s main action after saving
This commit is contained in:
parent
0d2b6f8ec4
commit
733d334a66
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ Story.prototype.edit_action = function() {
|
|||
}).call(this, req.postParams['og:image_array'], req.postParams['og:video_array']);
|
||||
delete session.data.backup;
|
||||
res.message = gettext('The story was successfully updated.');
|
||||
res.redirect(this.href(req.action));
|
||||
res.redirect(this.href());
|
||||
} catch (ex) {
|
||||
res.message = ex;
|
||||
app.log(ex);
|
||||
|
|
Loading…
Add table
Reference in a new issue