Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 66c4fcb

Browse files
committed
Merge pull request #74 from appirio-tech/dev
allow challenge type to be optional (default to develop)
2 parents 7dacc9b + 35f9ea7 commit 66c4fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/app/challenge-details/js/controllers/challenge-details-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
// set challengeId and challengeType from the url
4646
challengeId = $location.path().split("/")[2];
47-
challengeType = $location.search().type;
47+
challengeType = $location.search().type || 'develop';
4848

4949
var vm = this;
5050
// default review style

0 commit comments

Comments
 (0)