Class: GeoLabels::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/geo_labels/engine.rb

Class Method Summary collapse

Class Method Details

.client_pathsObject



29
30
31
32
33
34
35
# File 'lib/geo_labels/engine.rb', line 29

def self.client_paths
  {
    mount:      routes.find_script_name({}),
    get_rating: routes.url_helpers.get_rating_path,
    set_rating: routes.url_helpers.set_rating_path
  }
end