Skip to content

Commit

Permalink
Tweaks to disqus - need to forward merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cliftonc committed Aug 14, 2011
1 parent 615617f commit a6f6b5a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/community/disqus/disqus.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,22 @@ function init(module, app, next) {
template: 'disqus',
block: 'scripts.disqus'
}, this.parallel());

module.router.addRoute(/^(\/dox.*)/, disqus, {
end: false,
template: 'disqus',
block: 'scripts.disqus'
}, this.parallel());


module.router.addRoute(/^(\/repo\/show.*)/, disqus, {
end: false,
template: 'disqus',
block: 'scripts.disqus'
}, this.parallel());



}, function done() {

// No initialisation?
Expand Down

0 comments on commit a6f6b5a

Please sign in to comment.