title: Precompile slim templates using the rails asset pipeline
body: <p>It would be super handy if I could precompile slim templates using the rails asset pipeline. I was hoping to stick my templates in app/assets/html and serve them up that way.</p>
  
  <p>Here's what I've got so far:</p>
  
  <pre><code># config/initializers/slim.rb
  Rails.application.assets.register_engine('.slim', Slim::Template)
  
  # config/application.rb
  config.assets.paths &lt;&lt; "#{Rails.root}/app/assets/html"
  config.assets.register_mime_type('text/html', '.html')
  </code></pre>
  
  <p>Running rake assets:precompile reads the .html.slim files in app/assets/html but it doesn't compile them and the output file still has the .slim extension.</p>
  
  <p>Is there a way to make this work?</p>