Write the back-end for rule ignoring

This commit is contained in:
Rowan Manning
2014-01-09 15:34:32 +00:00
parent 4347acf654
commit ccc7ddfc18
5 changed files with 59 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ function route (app) {
mainResult: task.lastResult || null,
added: (typeof req.query.added !== 'undefined'),
running: (typeof req.query.running !== 'undefined'),
ruleIgnored: (typeof req.query['rule-ignored'] !== 'undefined'),
hasOneResult: (presentedResults.length < 2),
isTaskPage: true
});