Advertisement
Guest User

!*

a guest
Jan 30th, 2015
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package controllers
  2.  
  3. import play.api.Play
  4. import Play.current
  5. import play.api.mvc.Action
  6. import play.api.mvc.AnyContent
  7.  
  8. object ConfigurableAssets extends AssetsBuilder {
  9.  
  10. private val assetsPath = Play.configuration.getString("assets.js").getOrElse("/public/scripts")
  11.  
  12. def at(file:String): Action[AnyContent] = {
  13. at(assetsPath, file)
  14. }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement