Scalajs-react-experiments/server/app/com/example/playscalajsreact/controllers/Application.scala
2020-06-06 18:42:38 +05:30

16 lines
332 B
Scala

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))
}
}