Closed samstickland closed 8 years ago
Change your code to ::Rails.env.test? ? 'Add' : raw('<i class="icon-plus"></i>')
Ah gotcha. It's because it was resolving to this new module?
2016-05-01 16:19 GMT+01:00 Timo Schilling notifications@github.com:
Change your code to ::Rails.env.test? ? 'Add' : raw('<i class="icon-plus">')
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/trailblazer/cells-haml/issues/4#issuecomment-216049121
Yes, thats the reason.
Hi,
I've just upgraded from 0.0.8 to 0.0.10 and now I get errors when I try to access Rails.env from inside a cell:
Dropping back to down 0.0.8 works for me.
(This strange bit of code is because trying to click a link made entirely from an icon-moon font fails on Codeship).