fix rubocop offenses

This commit is contained in:
Neil Lalonde 2017-07-31 11:59:16 -04:00
parent 5d528f0d15
commit 83011045c8
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ module FileStore
end
def get_path_for_upload(upload)
get_path_for("original".freeze, upload.id, upload.sha1, "."+upload.extension)
get_path_for("original".freeze, upload.id, upload.sha1, "." + upload.extension)
end
def get_path_for_optimized_image(optimized_image)

View File

@ -501,7 +501,7 @@ class Search
SELECT post_uploads.post_id FROM uploads
JOIN post_uploads ON post_uploads.upload_id = uploads.id
WHERE lower(uploads.extension) IN (:file_extensions)
)", {file_extensions: file_extensions})
)", file_extensions: file_extensions)
end
private