slim-rails
slim-rails copied to clipboard
Slim in Rails asset pipline
I have an application that has slim templates. Now we are planning to migrate this to backbone. I tried to use slim in JS templates like file_name.jst.eco.slim. it works for the html part but ruby code does not work in it. One can do such things in HAML using haml_assets gem but I don't find anything like this in slim. The slim_assets gem does not work.
Please advise.
@junaidatique you mean this? https://github.com/crowdint/slim_assets or a fork https://github.com/dabit/slim_assets ? Maybe we can extract some code from it and make it work again.
@junaidatique I think this PR will solve your issue: https://github.com/slim-template/slim-rails/pull/148