Closed elbarto132 closed 6 years ago
How do you pass locals in rabl-rails? The syntax from the rabl gem doesn't work: extends('posts/show', :locals => { :hide_comments => true }) extends in rabl-rails seems to accept only one argument
You can pass them as you would in rabl in versions 0.5.x (not released yet but you can reference the branch in your Gemfile)
rabl
0.5.x
How do you pass locals in rabl-rails? The syntax from the rabl gem doesn't work: extends('posts/show', :locals => { :hide_comments => true }) extends in rabl-rails seems to accept only one argument