Rollback one change from previous commit
S5 should not be visible on unpublished, password-protected webs.
This commit is contained in:
parent
155dc88891
commit
73120cdc1c
2 changed files with 4 additions and 3 deletions
|
@ -38,7 +38,7 @@ class FileController < ApplicationController
|
|||
end
|
||||
|
||||
def blahtex_png
|
||||
send_file(@web.blahtex_pngs_path + '/' + params['id'])
|
||||
send_file(@web.blahtex_pngs_path + '/' + params['id']) if check_authorized
|
||||
end
|
||||
|
||||
def delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue