Sha256: a25ee1f138cafe434099c29da8d83a89fb38f62591b2edd13932a1b4e603ed7c
Contents?: true
Size: 881 Bytes
Versions: 4
Compression:
Stored size: 881 Bytes
Contents
module RulesEngineView module Defer def set_re_javascript_include(javascript_include_or_array) content_for :defer_re_javascript_include do javascript_include_tag(javascript_include_or_array) end end def set_re_breadcrumbs(*crumbs) content_for :defer_re_breadcrumbs do if RulesEngineView::Config.prefix_breadcrumbs re_breadcrumbs(*([RulesEngineView::Config.prefix_breadcrumbs] << crumbs).flatten) else re_breadcrumbs(*crumbs) end end end def set_re_breadcrumbs_right(*crumbs) content_for :defer_re_breadcrumbs do if RulesEngineView::Config.prefix_breadcrumbs re_breadcrumbs_right(*([RulesEngineView::Config.prefix_breadcrumbs] + crumbs).flatten) else re_breadcrumbs_right(*crumbs) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems