Changeset 1212
- Timestamp:
- 07/19/08 22:00:46 (6 months ago)
- Files:
-
- trunk/app/helpers/application_helper.rb (modified) (1 diff)
- trunk/app/views/layouts/public_render.rhtml (modified) (1 diff)
- trunk/app/views/public/show.rhtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/helpers/application_helper.rb
r1208 r1212 6 6 :show_slug => show.slug }) 7 7 url_for options 8 end 9 10 def url_for_podcast(show) 11 url_for :controller => "public", :action => "feed", :show_slug => show.slug 8 12 end 9 13 trunk/app/views/layouts/public_render.rhtml
r1211 r1212 10 10 :rel => "alternate", :type => "application/rss+xml", 11 11 :title => "Le podcast : #{@show.name}", 12 :href => url_for (:action => 'feed', :show_slug => @show.slug))12 :href => url_for_podcast(@show)) 13 13 %> 14 14 <% end %> trunk/app/views/public/show.rhtml
r1193 r1212 21 21 <% end %> 22 22 </ul> 23 <% end %> 23 24 24 < % else %>25 <h2>Abonnez-vous</h2> 25 26 26 <% end %> 27 <ul> 28 <li>Podcast : <%= link_to "RSS", url_for_podcast(@show) %></li> 29 </ul>
