Fix BlahTeX/PNG

The BlahTeX/PNG code was busted by Revision 344.
Fixed now.
Ari better supply me with a test suite, so this doesn't happen again.
This commit is contained in:
Jacques Distler 2009-01-27 11:35:05 -06:00
parent b4b1dde8fd
commit 1cdf0536c1
3 changed files with 13 additions and 0 deletions

View file

@ -36,6 +36,10 @@ class FileController < ApplicationController
end
end
end
def blahtex_png
send_file(@web.blahtex_pngs_path + '/' + params['id'])
end
def delete
@file_name = params['id']