17 lines
431 B
Scala
17 lines
431 B
Scala
package controllers
|
|
|
|
import play.api.mvc._
|
|
import actions.CORSAction
|
|
|
|
import javax.inject._
|
|
|
|
@Singleton
|
|
class HomeController @Inject()(
|
|
val controllerComponents: ControllerComponents,
|
|
corsAction: CORSAction
|
|
) extends BaseController {
|
|
|
|
def index(): Action[AnyContent] = corsAction { implicit request =>
|
|
Ok(views.html.index())
|
|
}
|
|
}
|