FIX: Use File.join for relative_base_url, fix spec
This commit is contained in:
parent
05a4f3fb51
commit
871d4543cc
|
@ -33,7 +33,7 @@ module FileStore
|
||||||
end
|
end
|
||||||
|
|
||||||
def relative_base_url
|
def relative_base_url
|
||||||
"#{Discourse.base_uri}#{upload_path}"
|
File.join(Discourse.base_uri, upload_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
def external?
|
def external?
|
||||||
|
|
Loading…
Reference in New Issue