Fixed the links on wiki/feeds page

This commit is contained in:
Alexey Verkhovsky 2005-04-03 06:46:45 +00:00
parent 449a7fb8f3
commit bdb77c7108
2 changed files with 9 additions and 3 deletions

View file

@ -75,7 +75,7 @@ class WikiController < ApplicationController
end end
def feeds def feeds
# to template # show the template
end end
def list def list

View file

@ -3,6 +3,12 @@
<p>You can subscribe to this wiki by RSS and get either just the headlines of the pages that change or the entire page.</p> <p>You can subscribe to this wiki by RSS and get either just the headlines of the pages that change or the entire page.</p>
<ul id="feedsList"> <ul id="feedsList">
<li><a href="../rss_with_content<%= "?password=#{@web.password}" if @web.password %>">Full content (RSS 2.0)</a> <li>
<li><a href="../rss_with_headlines<%= "?password=#{@web.password}" if @web.password %>">Headlines (RSS 2.0)</a> <% unless @web.password and not @web.published %>
<%= link_to 'Full content (RSS 2.0)', :web => @web.address, :action => :rss_with_content %>
<% end %>
</li>
<li>
<%= link_to 'Headlines (RSS 2.0)', :web => @web.address, :action => :rss_with_headlines %>
</li>
</ul> </ul>