You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the common subproject, I have SCSS files that I want to use in a view in the same subproject. In the controllers packages, I added a file in order to be able to serve assets:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm writing an app composed of several subprojects:
In the
common
subproject, I have SCSS files that I want to use in a view in the same subproject. In thecontrollers
packages, I added a file in order to be able to serve assets:with a line in the
common.routes
file:GET /assets/*file controllers.common.Assets.versioned(path="/public", file: Asset)
and
routes
:-> /common common.Routes
but when I try to access a CSS file
localhost:9000/common/assets/stylesheets/pdf.css
, I get an error: Action Not FoundBeta Was this translation helpful? Give feedback.
All reactions