Skip to content

Commit 786ba43

Browse files
committed
all features ready.... BOUYAAAAAA
1 parent 67d6255 commit 786ba43

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

grails-app/controllers/ovh/garcon/tasko/BadgeController.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class BadgeController {
2727
respond badge
2828
}
2929

30+
def healthcheck() {
31+
response.status = 200
32+
}
33+
3034
@Transactional
3135
def save(Badge badge) {
3236
if (badge == null) {

grails-app/controllers/ovh/garcon/tasko/QuestionController.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ class QuestionController {
3333
respond Question.list(params)?.sort{it.getValue()}?.reverse(true), model:[questionCount: Question.count()]
3434
}
3535

36+
def healthcheck() {
37+
response.status = 200
38+
}
39+
3640
def show(Question question) {
3741
respond question
3842
}

grails-app/controllers/ovh/garcon/tasko/TagController.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class TagController {
2323
respond Tag.list(params), model:[tagCount: Tag.count()]
2424
}
2525

26+
def healthcheck() {
27+
response.status = 200
28+
}
29+
2630
def show(Tag tag) {
2731
respond tag
2832
}

grails-app/controllers/ovh/garcon/tasko/UserController.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class UserController {
2929
respond user
3030
}
3131

32+
def healthcheck() {
33+
response.status = 200
34+
}
35+
3236
def userid(User user) {
3337
respond User.findWhere(username: user.username)
3438
}

0 commit comments

Comments
 (0)