I have a folder with html file, css and asset. forder tree like below:
Forder ifreezeapp
in folder public
When i try parse and render file index.html
in view
Liquid::Template.parse( File.read("#{Rails.root.to_s}/public/ifreezeapp/index.html") ).render().html_safe
But it load incorrect assets,css,js....
How to render template with can load correct assets,css,js,...
Aucun commentaire:
Enregistrer un commentaire