I'm developing with play framework (2.2.1) and I'm having a problem. Every asset that is static in my project is not being published to public. coffescripts, less and js files work well, but images and css files does not go there... I've put this in my routes file
GET /assets/*file controllers.Assets.at(path="/public", file)
GET /webjars/*file controllers.WebJarAssets.at(file)
Then I have the following structure inside app folder
assets
|-----images
|----------logo.png
|-----javascript
|----------main.js
|-----stylesheets
|----------main.css
And I'm calling in my html files like this:
@routes.Assets.at("images/logo.png")
When I see the compiled files, theres no image or stylesheets directories. If I change the name of the main.css to main.less, it works fine. Anybody knows what is causing this?
UPDATE Based on Templar I've changed the directory structure to this but nothing happened:
assets
|-----javascript
|----------main.js
|-----stylesheets
|----------main.less
public
|-----images
|----------logo.png
|-----javascript
|----------other.js
|-----stylesheets
|----------other.css