Created
March 17, 2014 18:46
-
-
Save mbilokonsky/9605691 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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