We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using Play 2.6 and Deadbolt2
I tried as per example: def someFunctionA = deadbolt.SubjectPresent() { Action { Ok("Ok") } }
def someFunctionA = deadbolt.SubjectPresent() { Action { Ok("Ok") } }
play.sbt.PlayExceptions$CompilationException: Compilation error[type mismatch; found : play.api.mvc.Action[play.api.mvc.AnyContent] required: play.api.mvc.BodyParser[?]]
Also tried: def someFunctionA = deadbolt.SubjectPresent()() { Action { Ok("Ok") } }
def someFunctionA = deadbolt.SubjectPresent()() { Action { Ok("Ok") } }
play.sbt.PlayExceptions$CompilationException: Compilation error[type mismatch; found : play.api.mvc.Action[play.api.mvc.AnyContent] required: be.objectify.deadbolt.scala.AuthenticatedRequest[play.api.mvc.AnyContent] => scala.concurrent.Future[play.api.mvc.Result]]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using Play 2.6 and Deadbolt2
I tried as per example:
def someFunctionA = deadbolt.SubjectPresent() { Action { Ok("Ok") } }
Also tried:
def someFunctionA = deadbolt.SubjectPresent()() { Action { Ok("Ok") } }
The text was updated successfully, but these errors were encountered: