KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to serve client side templates that have been pre-processed through HAML. I have tried using the haml_assets gem and adding the following code to an initializer: Rails.application.assets.register_engine ".haml", Tilt::HamlTemplate Both of these methods serve the raw HAML and not compiled HAML when I access the asset. How can I add HAML to the pipeline?
Tags (comma-separated)
Save Edits
Cancel