fix spelling
This commit is contained in:
parent
6a8dc3f8c6
commit
863e074f50
@ -17,11 +17,11 @@ module Merged
|
|||||||
git.add("merged")
|
git.add("merged")
|
||||||
git.add( Image.root )
|
git.add( Image.root )
|
||||||
begin
|
begin
|
||||||
g.config('user.email', current_member.email)
|
git.config('user.email', current_member.email)
|
||||||
git.commit(params[:message])
|
git.commit(params[:message])
|
||||||
redirect_to changes_index_url , notice: "Changes commited"
|
redirect_to changes_index_url , notice: "Changes commited"
|
||||||
rescue
|
rescue => e
|
||||||
redirect_to changes_index_url , notice: "Error occurred"
|
redirect_to changes_index_url , notice: "Error occurred #{e}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user