Sha256: 98c1d397e4bb6b970ba62d302b5154bc98a378d6271150d644e85a36805f45b5

Contents?: true

Size: 308 Bytes

Versions: 12

Compression:

Stored size: 308 Bytes

Contents

EffectiveAddresses::Engine.routes.draw do
  scope :module => 'effective' do
    match 'addresses/subregions/:country_code', to: 'addresses#subregions', as: 'address_subregions', via: :get
  end
end

Rails.application.routes.draw do
  mount EffectiveAddresses::Engine => '/', :as => 'effective_addresses'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
effective_addresses-1.9.6 config/routes.rb
effective_addresses-1.9.5 config/routes.rb
effective_addresses-1.9.4 config/routes.rb
effective_addresses-1.9.3 config/routes.rb
effective_addresses-1.9.2 config/routes.rb
effective_addresses-1.9.1 config/routes.rb
effective_addresses-1.9.0 config/routes.rb
effective_addresses-1.8.6 config/routes.rb
effective_addresses-1.8.5 config/routes.rb
effective_addresses-1.8.4 config/routes.rb
effective_addresses-1.8.3 config/routes.rb
effective_addresses-1.8.2 config/routes.rb