Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
route for /doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xfoxfu committed May 10, 2015
1 parent 4b378e8 commit 1d4861e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion routes/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ router.get('/', function(req, res, next) {
home_title: config.get('site.front')
});
});
// GET /doc
router.get('/doc', function(req,res,next){
res.redirect('https://github.com/Rap-ID/Rap-ID')
});
// GET /reg
router.get('/reg', function(req, res, next) {
res.render('main/reg', {
Expand All @@ -23,4 +27,4 @@ router.post('/reg', require('./reg.post'));
// GET /download
router.get('/download', require('./download'));

module.exports = router;
module.exports = router;

0 comments on commit 1d4861e

Please sign in to comment.