Permalink
Browse files

#14 go back home after saving settings

  • Loading branch information...
1 parent c7f01f8 commit fe9e4b40dfeb4bf21be9c3e553ccc596dd9bbe7c Viktor Turskyi committed Apr 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Mojolicious/Plugin/UserManager/Controller/Users.pm
@@ -152,6 +152,7 @@ sub update {
$self->um_storage->set( $self->stash('user_id'), $u_data );
$self->flash( um_notice => 'Saved' );
+ return $self->redirect_to( $self->um_config->{home_url} );
} else {
$self->flash( %$u_data, $self->_get_error_messages($result));
}

0 comments on commit fe9e4b4

Please sign in to comment.