Fork me on GitHub
#luminus
<
2016-09-21
>
shanekilkelly17:09:52

I’ve been digging around in the generated code for a while now, and can’t find where the static assets base-url is being set. Usually there would be a call to (route/resources “/whatever”), but I’m just not seeing it. By default it seems that a file, say, resources/public/css/foo.css will be routed to /css/foo.css, but I need to prefix all that with /static, (or /assets, just something to get it out of the / route.

shanekilkelly17:09:43

Actually, unless I’m losing it, the documentation doesn’t seem to match reality in this case (http://www.luminusweb.net/docs/routes.md#static_resources), I don’t see any call to route/resources in the handler namespace