app/views/layouts/application.html.erb in enju_leaf-1.1.0.rc17 vs app/views/layouts/application.html.erb in enju_leaf-1.1.0.rc18

- old
+ new

@@ -10,10 +10,10 @@ <% 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)")) %> <% end %> <% end %> - <%= book_jacket_header(Setting.book_jacket.source) %> + <%= book_jacket_header(@library_group.settings[:book_jacket_source]) %> <% if controller.controller_name == 'page' %> <%= render 'page/portlets' %> <% end %> </head> <body itemscope itemtype="http://schema.org/WebPage">