Commit 05c5b770 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix submodules 500 error

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 71e7bff1
......@@ -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
......
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