Fix BlahTeX/PNG Path

Dunno why Ari tolerated this
up till now.
This commit is contained in:
Jacques Distler 2010-01-25 17:55:31 -06:00
parent d3db9d1229
commit 9dc59b7b7c
4 changed files with 16 additions and 4 deletions

View file

@ -104,9 +104,13 @@ end
class StubUrlGenerator < AbstractUrlGenerator
def initialize
super(:doesnt_need_controller)
controller = Object.new
def controller.url_for(options = {})
'../files/pngs'
end
super(controller)
end
def file_link(mode, name, text, web_name, known_file, description)
link = CGI.escape(name)
case mode