All Downloads are FREE. Search and download functionalities are using the official Maven repository.

controllers.DocController.scala Maven / Gradle / Ivy

The newest version!
package controllers

import play.api._
import play.api.mvc._

object DocController extends Controller {

  def redirect = Action { implicit request =>
    Redirect(routes.DocController.index)
  }

  def index = Anonymous { implicit request =>
    Ok(views.html.doc.index(request.user))
  }

  def gettingStarted = Anonymous { implicit request =>
    Ok(views.html.doc.gettingStarted(request.user))
  }

  def apiJson = Anonymous { implicit request =>
    Ok(views.html.doc.apiJson(request.user))
  }

  def types = Anonymous { implicit request =>
    Ok(views.html.doc.types(request.user))
  }

  def clients = Anonymous { implicit request =>
    Ok(views.html.doc.clients(request.user))
  }

  def examples = Anonymous { implicit request =>
    Ok(views.html.doc.examples(request.user))
  }

  def history = Anonymous { implicit request =>
    Ok(views.html.doc.history(request.user))
  }

  def releaseNotes = Anonymous { implicit request =>
    Ok(views.html.doc.releaseNotes(request.user))
  }

  def todo = Anonymous { implicit request =>
    Ok(views.html.doc.todo(request.user))
  }

  def playRoutesFile = Anonymous { implicit request =>
    Ok(views.html.doc.playRoutesFile(request.user))
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy