app/views/layouts/application.html.erb in enju_leaf-1.1.0.rc12 vs app/views/layouts/application.html.erb in enju_leaf-1.1.0.rc13

- old
+ new

@@ -3,14 +3,14 @@ <head> <meta charset="UTF-8" /> <%= render 'page/include' %> <title><%= title(controller.controller_name) %></title> <%- if controller.controller_name == 'manifestations' and controller.action_name == 'index' -%> - <%= auto_discovery_link_tag(:rss, url_for(params.merge(:format => 'rss', :page => nil, :commit => nil, :only_path => true)), :title => (t('manifestation.library_group_manifestation', :library_group_name => @library_group.display_name.localize) + " (RSS)")) %> - <%= auto_discovery_link_tag(:atom, url_for(params.merge(:format => 'atom', :page => nil, :commit => nil, :only_path => true)), :title => (t('manifestation.library_group_manifestation', :library_group_name => @library_group.display_name.localize) + " (Atom)")) %> + <%= auto_discovery_link_tag(:rss, url_for(params.merge(format: 'rss', page: nil, commit: nil, only_path: true)), title: (t('manifestation.library_group_manifestation', library_group_name: @library_group.display_name.localize) + " (RSS)")) %> + <%= auto_discovery_link_tag(:atom, url_for(params.merge(format: 'atom', page: nil, commit: nil, only_path: true)), title: (t('manifestation.library_group_manifestation', library_group_name: @library_group.display_name.localize) + " (Atom)")) %> <% if defined?(EnjuNews) %> - <%= auto_discovery_link_tag(:rss, news_posts_url(:format => :rss, :locale => @locale), :title => (t('news_post.library_group_news_post', :library_group_name => @library_group.display_name.localize) + " (RSS)")) %> - <%= auto_discovery_link_tag(:atom, news_posts_url(:format => :atom, :locale => @locale), :title => (t('news_post.library_group_news_post', :library_group_name => @library_group.display_name.localize) + " (Atom)")) %> + <%= auto_discovery_link_tag(:rss, news_posts_url(format: :rss, locale: @locale), title: (t('news_post.library_group_news_post', library_group_name: @library_group.display_name.localize) + " (RSS)")) %> + <%= auto_discovery_link_tag(:atom, news_posts_url(format: :atom, locale: @locale), title: (t('news_post.library_group_news_post', library_group_name: @library_group.display_name.localize) + " (Atom)")) %> <% end %> <% end %> <%= book_jacket_header(Setting.book_jacket.source) %> <% if controller.controller_name == 'page' %> <%= render 'page/portlets' %>