Model Values in Filenames #638
-
Question I am aware of the "Pretty Location" feature (https://shrinerb.com/docs/plugins/pretty_location). I would like to go one step further and customize the filename to have a per-attachment value from the model (shown as "customvalue" in the mock below:
Reason |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can override the |
Beta Was this translation helpful? Give feedback.
You can override the
generate_location
method - https://shrinerb.com/docs/getting-started#location