[Rails] Render html withouts assets
Hi,
-- Is there a way to render template without assets from application.js and application.css?
In my project I use html rendered by controllers. This data is received by ajax and added to current page interactively. The problem is that html contains unnecessary data with js and css files. I need only HTML from the view template.
Thanks!
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bd2a271f-cf31-4b3f-bd90-7eabf9eb7226%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home