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

Fix submodules 500 error

parent 490f99d4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -196,7 +196,7 @@ class Repository
# # => git@localhost:rack.git
#
def submodule_url_for(ref, path)
if submodules.any?
if submodules(ref).any?
submodule = submodules(ref)[path]
 
if submodule
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