由于在我的视图中包含了一个引导css文件,我无法在Scala中逆转我的路径。
下面是我指向引导文件的链接:
<link href="@routes.Assets.at("bootstrap/dist/css/bootstrap.css")" rel="stylesheet"/>这是我的路线:
GET /assets/*file controllers.Assets.at(path="public", file)这是我找到文件的路径:
/public/bootstrap/dist/css$ ls
bootstrap.css bootstrap-theme.css index.html
bootstrap.min.css bootstrap-theme.min.css index.html.1我在这里做错什么了?
谢谢!
发布于 2013-11-05 19:51:35
好像你的路线没有有效的斜线,应该是。
GET /assets/*file controllers.Assets.at(path="/public", file)https://stackoverflow.com/questions/19796783
复制相似问题