Skip to content

Instantly share code, notes, and snippets.

@mbilokonsky
Created March 17, 2014 18:46
Show Gist options
  • Save mbilokonsky/9605691 to your computer and use it in GitHub Desktop.
Save mbilokonsky/9605691 to your computer and use it in GitHub Desktop.
object Application extends Controller with securesocial.core.SecureSocial {
// this won't compile, what am I missing?
def index = SecuredAction { implicit request =>
Assets.at("/public", "index.html").apply(request)
}
// when I route to this, it works
def unprotectedIndex = Assets.at("/public", "index.html")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment