Sha256: 6b6367e094352a8712106611b3d8897e9fb62bcb839e4154d927f450a1ae770d

Contents?: true

Size: 644 Bytes

Versions: 33

Compression:

Stored size: 644 Bytes

Contents

Rails.application.routes.draw do
  concern :active_scaffold, ActiveScaffold::Routing::Basic.new(association: true)
  concern :active_scaffold_association, ActiveScaffold::Routing::Association.new

  resources :addresses, concerns: :active_scaffold
  resources :buildings, except: :index do
    concerns :active_scaffold, except: %i[mark add_existing new_existing destroy_existing]
  end
  resources :cars, only: %i[index edit update] do
    concerns :active_scaffold, association: false, except: [:mark]
  end
  resources :people do
    concerns :active_scaffold, except: %i[mark]
  end

  match ':controller(/:action(/:id))', :via => :any
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
active_scaffold-3.7.12 test/mock_app/config/routes.rb
active_scaffold-3.7.11.1 test/mock_app/config/routes.rb
active_scaffold-3.7.11 test/mock_app/config/routes.rb
active_scaffold-3.7.10 test/mock_app/config/routes.rb
active_scaffold-3.7.8 test/mock_app/config/routes.rb
active_scaffold-3.7.7 test/mock_app/config/routes.rb
active_scaffold-3.7.6 test/mock_app/config/routes.rb
active_scaffold-3.7.5 test/mock_app/config/routes.rb
active_scaffold-3.7.2 test/mock_app/config/routes.rb
active_scaffold-3.7.1 test/mock_app/config/routes.rb
active_scaffold-3.7.0 test/mock_app/config/routes.rb
active_scaffold-3.6.20 test/mock_app/config/routes.rb
active_scaffold-3.6.19 test/mock_app/config/routes.rb
active_scaffold-3.6.17 test/mock_app/config/routes.rb
active_scaffold-3.6.15 test/mock_app/config/routes.rb
active_scaffold-3.6.14 test/mock_app/config/routes.rb
active_scaffold-3.6.13 test/mock_app/config/routes.rb
active_scaffold-3.6.12 test/mock_app/config/routes.rb
active_scaffold-3.6.11.1 test/mock_app/config/routes.rb
active_scaffold-3.6.11 test/mock_app/config/routes.rb