zero after commit
This commit is contained in:
parent
5202ea58c1
commit
bd9b0ece5f
@ -19,6 +19,7 @@ module Merged
|
||||
begin
|
||||
git.config('user.email', current_member.email)
|
||||
git.commit(params[:message])
|
||||
ChangeSet.current.zero
|
||||
redirect_to changes_index_url , notice: "Changes commited"
|
||||
rescue => e
|
||||
redirect_to changes_index_url , notice: "Error occurred #{e}"
|
||||
|
Loading…
Reference in New Issue
Block a user