Sha256: 12dfb4e1dabbabb51d8bf3fd3ce0f991a2c82ccbb1785c8d394e1729dcf5f26b

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

Dummy::Application.routes.draw do
  match 'testing', :to => 'testing#redirect', :via => :get, :constraints => { :id => /[A-Z]\d{5}/ }
  match '*tests', :controller => 'testing', :action => 'index', :via => :get

  resources :users, :only => [ :index, :show, :create ] do
    resources :albums, :only => [ :index, :show, :create, :update, :destroy ] do
      resources :images, :only => [ :index, :show, :create, :update, :destroy ]
    end
  end

  resources :images
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapidoc-0.0.7 spec/dummy/config/routes.rb