Sha256: 2e1a5a27e946070ef1117016c34731d2363558a401d3a965d9f15d07b70cfff2

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

# Routes
HasVcards::Engine.routes.draw do
  # Phone Numbers
  resources :phone_numbers

  # Vcards
  resources :vcards do
    resources :phone_numbers

    # DirectoryLookup
    member do
      get :directory_lookup
      post :directory_update
    end
  end

  # Directory Lookup
  get 'directory_lookup/search' => 'directory_lookup#search'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-1.1.2 config/routes.rb
has_vcards-1.1.1 config/routes.rb
has_vcards-1.1.0 config/routes.rb
has_vcards-1.0.0 config/routes.rb
has_vcards-1.0.0.rc0 config/routes.rb