aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorsuweller <me@suweller.com>2010-11-21 13:30:23 +0100
committersuweller <me@suweller.com>2010-11-21 13:30:23 +0100
commitaffa60ef2a503bf68181c25f1507381723be92a1 (patch)
tree151edea13a8faeee723db340f1ac7579c6f0c9b4 /app/views/admin
parent5cdb29dfe832f30f96f2459d1092ba56c6b3e862 (diff)
downloadrefinerycms-blog-affa60ef2a503bf68181c25f1507381723be92a1.tar.gz
refinerycms-blog-affa60ef2a503bf68181c25f1507381723be92a1.tar.bz2
refinerycms-blog-affa60ef2a503bf68181c25f1507381723be92a1.zip
place all script occurrences in content_for :javascripts
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/blog/_submenu.html.erb4
-rw-r--r--app/views/admin/blog/comments/show.html.erb2
2 files changed, 4 insertions, 2 deletions
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 @@
</nav>
<% 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 @@
</table>
</div>
-<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> \ No newline at end of file
+<% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %>