Wikilinks to Published Webs
Should be to the published action. This didn't work right for inter-web links. (Reported by Mike Shulman) Also, change some .length's to .size's (for Andrew Stacey)
This commit is contained in:
parent
888e93a7fd
commit
342298ed0e
5 changed files with 11 additions and 8 deletions
|
@ -98,7 +98,7 @@ class WikiController < ApplicationController
|
|||
<div class="byline">
|
||||
#{page.revisions? ? "Revised" : "Created" } on #{ page.revised_at.strftime('%B %d, %Y %H:%M:%S') }
|
||||
by
|
||||
#{ UrlGenerator.new(self).make_link(page.author.name, @web, nil, { :mode => :export }) }
|
||||
#{ UrlGenerator.new(self).make_link(@web, page.author.name, @web, nil, { :mode => :export }) }
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue