app/helpers/styleus_representer_helper.rb in styleus-0.0.10 vs app/helpers/styleus_representer_helper.rb in styleus-0.0.11
- old
+ new
@@ -1,7 +1,7 @@
module StyleusRepresenterHelper
- def _option_bar(component)
- _render_styleus('option_bar', locals: { component: component })
+ def _option_bar(component, helper)
+ _render_styleus('option_bar', locals: { component: component, helper: helper })
end
def _component_index(headline, components)
_render_styleus('component_index', locals: { headline: headline, components: components })
end
\ No newline at end of file