lib/caboodle/kits/disqus/views/chat.haml in caboodle-0.2.16 vs lib/caboodle/kits/disqus/views/chat.haml in caboodle-0.2.18
- old
+ new
@@ -1,13 +1,13 @@
- if ENV["RACK_ENV"] == "development"
:javascript
var disqus_developer = true;
#disqus.page
- - if Caboodle::Site.disqus
+ - if disqus
#disqus_thread
- %script{:src => "http://disqus.com/forums/#{Caboodle::Site.disqus}/embed.js", :type => "text/javascript"}
+ %script{:src => "http://disqus.com/forums/#{@disqus}/embed.js", :type => "text/javascript"}
%noscript
- %a{:href => "http://#{Caboodle::Site.disqus}.disqus.com/?url=ref"} View the discussion thread.
+ %a{:href => "http://#{@disqus}.disqus.com/?url=ref"} View the discussion thread.
%a.dsq-brlink{:href => "http://disqus.com"}
Discussion powered by
%span.logo-disqus Disqus