I am trying to change the logo configuration bu...
# avo-2
g
I am trying to change the logo configuration but having no luck adding my own logo. How can I display an image that I have under
/assets/images/rails.png
for example?
a
Hi ritec. This is working for me. I just reference the file name that is in my assets/images folder. e.g. if the image is in the root folder of assets/images I just uncomment the line in initializers/avo.rb for logo and put "rails.png" as the value
g
weird, that does no work for me.
i just get a The asset
"rails.png" is not present in the asset pipeline.
Probably some misconfiguration on my end.
a
It's likely something else in the app. Is it a new app? I didn't change anything else to get that to work
g
It is not a new app. It is a rails 6.1 that is quite old. interestingly I can access favicon.ico which is in the public directory, by adding
favicon.ico
in roopath of url, however if I add fivicon.ico to AVO on the favicon config I get a
Copy code
Sprockets::Rails::Helper::AssetNotFound at /dashboards/dashy
The asset "favicon.ico" is not present in the asset pipeline.
error.
Never got this to work, went with URLs instead.