Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
4764364480
1 changed files with 0 additions and 8 deletions
|
@ -102,14 +102,6 @@ class UrlGenerator < AbstractUrlGenerator
|
||||||
else
|
else
|
||||||
%{<span class="newWikiWord">#{text}</span>}
|
%{<span class="newWikiWord">#{text}</span>}
|
||||||
end
|
end
|
||||||
when :show
|
|
||||||
if known_page
|
|
||||||
wikilink_for(mode, name, text, web_address)
|
|
||||||
else
|
|
||||||
href = @controller.url_for :controller => 'wiki', :web => web_address, :action => 'new',
|
|
||||||
:id => name, :only_path => true
|
|
||||||
%{<span class="newWikiWord">#{text}<a href="#{href}">?</a></span>}
|
|
||||||
end
|
|
||||||
else
|
else
|
||||||
if known_page
|
if known_page
|
||||||
wikilink_for(mode, name, text, web_address)
|
wikilink_for(mode, name, text, web_address)
|
||||||
|
|
Loading…
Reference in a new issue