Sha256: 33ef37905ab68a442896f8831ee66b3d0fe7b2271d3811475bf1cf58a2c2a542

Contents?: true

Size: 612 Bytes

Versions: 2

Compression:

Stored size: 612 Bytes

Contents

TestApp::Application.routes.draw do
  
  resources :cities do
    collection do
      get :ajax
    end
  end  
  
  resources :people do
  	collection do
      get :ajax
    end
  end
  
  match 'vips' => 'vips#index', :as => :vips

  root :to => 'people#index'
  
  # Install the default routes as the lowest priority.
  # Note: These default routes make all actions in every controller accessible via GET requests. You should
  # consider removing or commenting them out if you're using named routes and resources.
  #map.connect ':controller/:action/:id.:format'
  #map.connect ':controller/:action/:id'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry_crud-1.2.7 test/templates/config/routes.rb
dry_crud-1.2.6 test/templates/config/routes.rb