Rollback one change from previous commit

S5 should not be visible on unpublished, password-protected webs.
This commit is contained in:
Jacques Distler 2009-06-17 12:45:53 -05:00
parent 155dc88891
commit 73120cdc1c
2 changed files with 4 additions and 3 deletions

View file

@ -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