Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
c9c6fec7b6ab
Commit
c9c6fec7
authored
Jul 31, 2014
by
Dmitriy Zaporozhets
Browse files
Fix 500 error when rename repository. Fixes #1473
parent
73d774bb16ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
c9c6fec7
...
...
@@ -494,6 +494,7 @@
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment