Skip to content

Commit

Permalink
Merge pull request OpenUserJS#824 from Martii/removeLegacyDeadRoute
Browse files Browse the repository at this point in the history
Remove a legacy library route and it's dead duplicate

Auto-merge
  • Loading branch information
Martii committed Nov 16, 2015
2 parents 0e83564 + a039277 commit 542227b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,9 @@ module.exports = function (aApp) {
aApp.route('/libs/:username/:scriptname').get(script.lib(script.view));
aApp.route('/libs/:username/:scriptname/edit').get(authentication.validateUser, script.lib(script.edit)).post(authentication.validateUser, script.lib(script.edit));
aApp.route('/libs/:username/:scriptname/source').get(script.lib(user.editScript));
aApp.route('/libs/src/:username/:scriptname').get(scriptStorage.sendScript);

// Raw source
aApp.route('/src/:type(scripts|libs)/:username/:scriptname').get(scriptStorage.sendScript);
aApp.route('/libs/src/:username/:scriptname').get(scriptStorage.sendScript); // Legacy

// Issues routes
aApp.route('/:type(scripts|libs)/:username/:namespace?/:scriptname/issues/:open(open|closed|all)?').get(issue.list);
Expand Down

0 comments on commit 542227b

Please sign in to comment.