Write pages to the proper branch

This commit is contained in:
Tom Clark
2011-02-21 23:32:27 -05:00
parent e3950d52c1
commit a1d760df1e
+1 -1
View File
@@ -142,7 +142,7 @@ module Gollum
#
# Returns the String SHA1 of the new commit.
def commit
sha1 = index.commit(@options[:message], parents, actor)
sha1 = index.commit(@options[:message], parents, actor, nil, @wiki.ref)
@callbacks.each do |cb|
cb.call(self, sha1)
end