From 1c8b4c5bdd24c35cebe8be31f5ae0a1ba6edb11b Mon Sep 17 00:00:00 2001 From: z9hang Date: Fri, 27 Mar 2015 16:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=AF=BC=E5=87=BAATOM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/boards/_course_show.html.erb | 6 +++--- app/views/news/_course_news.html.erb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb index e2faaf846..c27546e85 100644 --- a/app/views/boards/_course_show.html.erb +++ b/app/views/boards/_course_show.html.erb @@ -70,9 +70,9 @@ -<% other_formats_links do |f| %> - <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> -<% end %> +<%# other_formats_links do |f| %> + <%#= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> +<%# end %> <% html_title @board.name %> diff --git a/app/views/news/_course_news.html.erb b/app/views/news/_course_news.html.erb index aa286b540..a9af6551c 100644 --- a/app/views/news/_course_news.html.erb +++ b/app/views/news/_course_news.html.erb @@ -66,9 +66,9 @@ <%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%> - <% other_formats_links do |f| %> - <%= f.link_to 'Atom', :url => {:course_id => @course, :key => User.current.rss_key} %> - <% end %> + <%# other_formats_links do |f| %> + <%#= f.link_to 'Atom', :url => {:course_id => @course, :key => User.current.rss_key} %> + <%# end %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>