Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
820d2a94eb
4 changed files with 16 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue