Permalink
Browse files

make html extensions work on the site

  • Loading branch information...
1 parent 3491152 commit 382a79a0d5d3b0215618cec24582f9cc0538bee9 Techwraith committed Oct 7, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 site/config/router.js
View
@@ -20,10 +20,10 @@
var router = new geddy.RegExpRouter();
router.get('/').to('Main.index');
-router.get('/community').to('Main.community');
-router.get('/documentation').to('Main.documentation');
-router.get('/tutorial').to('Main.tutorial');
-router.get('/faq').to('Main.faq');
-router.get('/changelog').to('Main.changelog');
+router.get('/community(.:format)').to('Main.community');
+router.get('/documentation(.:format)').to('Main.documentation');
+router.get('/tutorial(.:format)').to('Main.tutorial');
+router.get('/faq(.:format)').to('Main.faq');
+router.get('/changelog(.:format)').to('Main.changelog');
exports.router = router;

0 comments on commit 382a79a

Please sign in to comment.