Commit 20163de0 authored by tiagonbotelho's avatar tiagonbotelho

creates the update_file method in repository.rb and applies changes accordingly

parent 4791f876
...@@ -731,7 +731,6 @@ class Repository ...@@ -731,7 +731,6 @@ class Repository
end end
end end
# previous_path, message, update
def update_file(user, path, content, branch, options={}) def update_file(user, path, content, branch, options={})
commit_with_hooks(user, branch) do |ref| commit_with_hooks(user, branch) do |ref|
committer = user_to_committer(user) committer = user_to_committer(user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment