Commit 43d570e0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix 500 error when rename repository. Fixes #1473

parent f82b9e48
......@@ -494,6 +494,7 @@ class Project < ActiveRecord::Base
end
def rename_repo
path_was = previous_changes['path'].first
old_path_with_namespace = File.join(namespace_dir, path_was)
new_path_with_namespace = File.join(namespace_dir, path)
......
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