frontend: hardcode special social engineering challenge
This commit is contained in:
parent
04345b33a2
commit
1833a7550d
3 changed files with 126 additions and 1 deletions
|
|
@ -79,7 +79,12 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
|
|||
})
|
||||
.when("/:theme/:exercice", {
|
||||
controller: "ExerciceController",
|
||||
templateUrl: "views/defi.html"
|
||||
templateUrl: function(e) {
|
||||
if (e.theme == "BlueMoney" && e.exercice == "JackSpearrow")
|
||||
return "views/defi-SE.html"
|
||||
else
|
||||
return "views/defi.html";
|
||||
}
|
||||
})
|
||||
.when("/", {
|
||||
controller: "HomeController",
|
||||
|
|
|
|||
Reference in a new issue