aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authordjones <dgjones@gmail.com>2010-11-22 16:35:57 +1300
committerdjones <dgjones@gmail.com>2010-11-22 16:35:57 +1300
commit9bff563c4f1de5cefb6b045c4b412f6a1b81268e (patch)
tree10cee9376ac0a46798670411d18985bf7e8f21bf /app/views
parenta45885bcd30c96acadaa9a8ad011c20902035d0f (diff)
downloadrefinerycms-blog-9bff563c4f1de5cefb6b045c4b412f6a1b81268e.tar.gz
refinerycms-blog-9bff563c4f1de5cefb6b045c4b412f6a1b81268e.tar.bz2
refinerycms-blog-9bff563c4f1de5cefb6b045c4b412f6a1b81268e.zip
include the blog helper in all blog front end controllers. Also fix kend error on show.html.erb for front end blog viewing
Diffstat (limited to 'app/views')
-rw-r--r--app/views/blog/posts/show.html.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index 603a44f..e6710a2 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -71,8 +71,9 @@
<%= stylesheet_link_tag 'refinerycms-blog' %>
<%= javascript_include_tag('refinerycms-blog') %>
<% if BlogPost::ShareThis.enabled? %>
- <script src="http://w.sharethis.com/button/buttons.js"></script>
- <script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
+ <script src="http://w.sharethis.com/button/buttons.js"></script>
+ <script>stLight.options({publisher:'<%= BlogPost::ShareThis.key %>'});</script>
+ <% end %>
<% end %>
<% else %>
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>