Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ARSnova Scala Prototype
Manage
Activity
Members
Labels
Plan
Issues
16
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Scala Prototype
Commits
f59c9efe
Commit
f59c9efe
authored
8 years ago
by
Tom Käsler
Browse files
Options
Downloads
Patches
Plain Diff
add both motd apis to routes
parent
4b1dbb5f
1 merge request
!13
Motd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/scala/de/thm/arsnova/Routes.scala
+4
-2
4 additions, 2 deletions
src/main/scala/de/thm/arsnova/Routes.scala
with
4 additions
and
2 deletions
src/main/scala/de/thm/arsnova/Routes.scala
+
4
−
2
View file @
f59c9efe
...
...
@@ -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"
))
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment