Module: BiologicalAssociationsGraphsHelper

Defined in:
app/helpers/biological_associations_graphs_helper.rb

Instance Method Summary collapse

Instance Method Details



8
9
10
11
# File 'app/helpers/biological_associations_graphs_helper.rb', line 8

def biological_associations_graph_link(biological_associations_graph)
  return nil if biological_associations_graph.nil?
  link_to(biological_associations_graph_tag(biological_associations_graph).html_safe, biological_associations_graph)
end

#biological_associations_graph_tag(biological_associations_graph) ⇒ Object



3
4
5
6
# File 'app/helpers/biological_associations_graphs_helper.rb', line 3

def biological_associations_graph_tag(biological_associations_graph)
  return nil if biological_associations_graph.nil?
  biological_associations_graph.name
end

#biological_associations_graphs_search_formObject



13
14
15
# File 'app/helpers/biological_associations_graphs_helper.rb', line 13

def biological_associations_graphs_search_form
  render('/biological_associations_graphs/quick_search_form')
end