I want to use Bootstraps glyphicons in play framework
so when i use <i class="icon-search" />
, bootstrap is looking for the icons in "assets/img/...". This behaviour conflicts with the anatomy of a play application because images are in "assets/images/...".
So I tried to remap this by defining an extra route for GET requests to "assets/img":
# Map static resources from the /public folder to the /assets URL path
GET /assets/img/*file controllers.Assets.at(path="/public/images", file)
GET /assets/*file controllers.Assets.at(path="/public", file)
But doing so, I get an Compilation error "not enough arguments for method at: (path: String, file: String)play.api.mvc.Call. Unspecified value parameter file. " on every other public asset I'm calling.
What am I doing wrong?