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