From affa60ef2a503bf68181c25f1507381723be92a1 Mon Sep 17 00:00:00 2001 From: suweller Date: Sun, 21 Nov 2010 13:30:23 +0100 Subject: place all script occurrences in content_for :javascripts --- app/views/admin/blog/_submenu.html.erb | 4 +++- app/views/admin/blog/comments/show.html.erb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'app/views/admin') diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb index 5c93891..c7da051 100644 --- a/app/views/admin/blog/_submenu.html.erb +++ b/app/views/admin/blog/_submenu.html.erb @@ -80,5 +80,7 @@ <% content_for :head do %> <%= stylesheet_link_tag 'refinery/refinerycms-blog' %> +<% end %> +<% content_for :javascripts do %> <%= javascript_include_tag 'refinery/refinerycms-blog' %> -<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/admin/blog/comments/show.html.erb b/app/views/admin/blog/comments/show.html.erb index 1cc29bb..21cb405 100644 --- a/app/views/admin/blog/comments/show.html.erb +++ b/app/views/admin/blog/comments/show.html.erb @@ -60,4 +60,4 @@ -<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> \ No newline at end of file +<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> -- cgit v1.2.3