16 lines
332 B
Scala
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))
|
||
|
}
|
||
|
|
||
|
}
|