status_viewhelper.rb revision 2883814db03fc155dce10fa355421c6a60bba4fd
TABS = [
]
HELPERS = {
}
attr_reader :tab, :view, :available_tabs
end
def initialize(view, tab)
end
[tab_title, tab, count ? count.call : nil]
end
end
@inner_helper ||= initialize_helper(HELPERS[tab])
end
end
end
view.render partial: tab.to_s, locals: {view: inner_helper} if tab
end
end