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

- (Object) biological_associations_graph_tag(biological_associations_graph)



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

- (Object) biological_associations_graphs_search_form



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