status_viewhelper.rb revision 9f71e4e1c9cab7485784b2b0bb7d1402ae1e4d14
TABS = [
['Overview', :overview],
['Processing Ontologies', :ontologies,
->(v){ v.processing_ontologies_count }],
]
HELPERS = {
}
attr_reader :tab, :view, :available_tabs
def initialize(view, tab)
end
end
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