How to test a haml partial with an early return?

前端 未结 0 496
孤独总比滥情好
孤独总比滥情好 2021-02-12 11:31

I\'ve got a haml partial that should render only for certain people, so it has a - return unless at the opening line:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题