Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2010-01-25 18:46:11 -06:00
commit 820d2a94eb
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