Browse files

Fix disqus integration

  • Loading branch information...
1 parent 6088adb commit 7de2a67f9fd6f8999b590824dcc26289b6ec8db6 @1602 1602 committed Aug 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/cms/page.ejs
View
2 app/views/cms/page.ejs
@@ -4,7 +4,7 @@
<div class="discussion">
<div id="disqus_thread"></div>
<script>
- var disqus_shortname = 'railwayjs', disqus_identifier = "<%= post.path %>";
+ var disqus_shortname = 'railwayjs', disqus_identifier = "<%= page.path %>";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';

0 comments on commit 7de2a67

Please sign in to comment.