Skip to content

Instantly share code, notes, and snippets.

@reactormonk
Created March 14, 2016 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reactormonk/ee87a9319a1db7f4c821 to your computer and use it in GitHub Desktop.
Save reactormonk/ee87a9319a1db7f4c821 to your computer and use it in GitHub Desktop.
import play.api.mvc.{Action, Controller}
import play.api.data.validation.Constraint
import de.zalando.play.controllers._
import PlayBodyParsing._
import PlayValidations._
import scala.util._
package api {
class Company extends CompanyBase {
val GET = GETAction { (company: String) =>
Failure(???)
/*
class APIRoot extends APIRootBase {
val GET = GETAction { _ =>
Failure(???)
*/
} //////// EOF //////// GETAction
}
}
package api {
class APIRoot extends APIRootBase {
val GET = GETAction { _ =>
Failure(???)
/*
class APIRoot extends APIRootBase {
val GET = GETAction { _ =>
Failure(???)
*/
} //////// EOF //////// GETAction
}
}
/tmp/activator-1.3.7-minimal/playground/conf/api.apij:0: value GET is not a member of api.Company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment