SpeciesFileGroup/taxonworks

View on GitHub
app/helpers/georeferences_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module GeoreferencesHelper

  # Needs to turn into a gmap with the item displayed
  def georeference_tag(georeference)
    return nil if georeference.nil?
    georeference.to_param
  end

  def get_gr(gr_result)
    return gr_result[:gr]
  end

  def get_result(gr_result)
    return gr_result[:valid?]
  end

end