In my config/initializers/payday.rb , I need to write an image path to an
asset image ...
Currently it's written like that :
Payday::Config.default.invoice_logo =
"#{Rails.root}/public/images/store/logo.png"
how can I set the path, as asset_path cannot be used yet during
initialization ?
if not possible I guess I should have a copy of the image in the public
folder ?
thanks for feedback
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/YM4vmn5bIvoJ.
For more options, visit https://groups.google.com/groups/opt_out.