Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 690 Bytes
package controllers
import javax.inject.{Inject, Singleton}
import play.api.i18n.{I18nSupport, Lang}
import play.api.mvc.{AbstractController, ControllerComponents, MessagesAbstractController, MessagesControllerComponents}
import scala.concurrent.{ExecutionContext, Future}
class HomeController @Inject()(
cc: MessagesControllerComponents
implicit ec: ExecutionContext
) extends MessagesAbstractController(cc) with I18nSupport {
def index = Action.async { request =>
def change(locale: String) = Action.async { request =>