Module: MatchGeoreferencesHelper

Defined in:
app/helpers/match_georeferences_helper.rb

Instance Method Summary (collapse)

Instance Method Details

Returns to visualize a particular partial

Parameters:

  • method (String)

    of (filter, tag, draw, recent)

  • type (String)

    of (ce, gr)

Returns:

  • (Link)

    to visualize a particular partial



31
32
33
# File 'app/helpers/match_georeferences_helper.rb', line 31

def link_to_georeference_match_type(method, type)
  link_to("#{method}", '', class: "#{method}-#{type}")
end