move shrine files out of public. use x-sendfile to send files for security.
This commit is contained in:
parent
8e66fb28db
commit
b601b2bbb6
11 changed files with 164 additions and 140 deletions
|
|
@ -24,7 +24,7 @@
|
|||
= render(partial: 'admin_buttons', locals: {screenshot: screenshot})
|
||||
/ Photoswipe needs to know the dimensions of the full-size image to zoom to
|
||||
a.foobar.black [
|
||||
href=url_for(screenshot.simage_url(:large))
|
||||
href=screenshot_image_with_id_path(screenshot.package, screenshot.id)
|
||||
data-pswp-width=screenshot.simage.width
|
||||
data-pswp-height=screenshot.simage.height
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue