playframework - Route to images and css in Play Framework 2.10 -
my designer have finished whole website , need create work using play 2.10.
the problem is:
all assets beingness loaded way
<img src="images/logo.png" alt="" />
i not route properly.
i tryied this
get images/*file controllers.assets.at(path="/public/images", file)
but result '/' expected `i' found
how can route assets without rewriting urls?
thanks in advance leonardo rodrigo
the slash missing, try:
get /images/*file controllers.assets.at(path="/public/images", file)
image playframework routes assets playframework-2.1
No comments:
Post a Comment