Skip to content
Snippets Groups Projects
Commit f59c9efe authored by Tom Käsler's avatar Tom Käsler
Browse files

add both motd apis to routes

parent 4b1dbb5f
1 merge request!13Motd
......@@ -4,7 +4,7 @@ import akka.http.scaladsl.server.Directives._
import de.thm.arsnova.api._
trait Routes extends ApiErrorHandler with UserApi with SessionApi with QuestionApi with FreetextAnswerApi with ChoiceAnswerApi
with CommentApi with FeaturesApi {
with CommentApi with FeaturesApi with SessionMotdApi with GlobalMotdApi {
val routes = {
userApi ~
sessionApi ~
......@@ -12,6 +12,8 @@ trait Routes extends ApiErrorHandler with UserApi with SessionApi with QuestionA
freetextAnswerApi ~
choiceAnswerApi ~
commentApi ~
featuresApi
featuresApi ~
sessionMotdApi ~
globalMotdApi
} ~ path("")(getFromResource("public/index.html"))
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment