status_viewhelper.rb revision e206832a0402e82f2fd05b4d073388acc5ccb395
TABS = [
['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