FIX: Image Lightbox on Subfolder Install

Since LocalSotre.is_relative wasn't subfolder aware, images on subfolder install weren't getting lightboxed.
This commit is contained in:
Rafael dos Santos Silva 2016-03-02 18:44:15 -03:00
parent c1aea91d63
commit 4d01328bc2
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module FileStore
end end
def relative_base_url def relative_base_url
"/uploads/#{RailsMultisite::ConnectionManagement.current_db}" "#{Discourse.base_uri}/uploads/#{RailsMultisite::ConnectionManagement.current_db}"
end end
def external? def external?