Fix "wrong number of arguments (given 3, expected 2)" in Post#file_url.

This commit is contained in:
evazion
2018-04-05 15:33:47 -05:00
parent 7d745ac93f
commit a432980f85

View File

@@ -17,7 +17,7 @@ class StorageManager::Hybrid < StorageManager
submanager[post.id, post.md5, post.file_ext, type].open_file(post, type)
end
def file_url(post, type)
submanager[post.id, post.md5, post.file_ext, type].file_url(post, type)
def file_url(post, type, **options)
submanager[post.id, post.md5, post.file_ext, type].file_url(post, type, **options)
end
end