Files
struct should allow for a name
parameter for use with url_for
#3111
Unanswered
brassy-endomorph
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to be able to create URLs for my static assets during requests, and this should be done here:
actix-web/actix-files/src/files.rs
Lines 339 to 343 in d8df60b
This is somewhat bothersome. If I want routes, I have to do something cumbersome to work around this. If there's a a clear way to do this, it should be documented.
Beta Was this translation helpful? Give feedback.
All reactions