Scalajs-react-experiments/server/app/com/example/playscalajsreact/controllers/Application.scala

16 lines
332 B
Scala
Raw Permalink Normal View History

2020-06-06 12:32:17 +00:00
package com.example.playscalajsreact.controllers
import javax.inject._
import com.example.playscalajsreact.shared.SharedMessages
import play.api.mvc._
@Singleton
class Application @Inject()(cc: ControllerComponents) extends AbstractController(cc) {
def index = Action {
Ok(views.html.index(SharedMessages.itWorks))
}
}