-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method url_path_prefix using dragonfly master #58
Comments
it was indeed, but I haven't got round to adding in deprecation warnings etc. |
thanks for response. i've tried it initializer: require 'dragonfly' app = Dragonfly[:images] app.configure_with(:imagemagick) app.configure_with(:rails) app.define_macro(ActiveRecord::Base, :image_accessor) app.configure do |c| c.url_format = "/images/:job/:basename.:format" end but nothing changed. it's still /media/:job |
you also need to have the name available, so give the model a xxxxx_name column (string), where xxxxxx is the image attribute |
Thanks. It's helped with basename and format, but prefix still /media/ instead of /images/ |
try c.server.url_format = '.... |
Seems like it was removed, but i cant find way to configure prefix and suffix now.
The text was updated successfully, but these errors were encountered: