Skip to content
Snippets Groups Projects
Commit 43d570e0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix 500 error when rename repository. Fixes #1473

parent f82b9e48
No related branches found
No related tags found
No related merge requests found
Loading
@@ -494,6 +494,7 @@ class Project < ActiveRecord::Base
Loading
@@ -494,6 +494,7 @@ class Project < ActiveRecord::Base
end end
   
def rename_repo def rename_repo
path_was = previous_changes['path'].first
old_path_with_namespace = File.join(namespace_dir, path_was) old_path_with_namespace = File.join(namespace_dir, path_was)
new_path_with_namespace = File.join(namespace_dir, path) new_path_with_namespace = File.join(namespace_dir, path)
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment