Sha256: aab20adc8b1ddf94e32ad3a76b3caf0ac7db450262c5a5e6cd488163630a312d

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

Rails.application.routes.draw do
  root 'home#index'

  admin_for :apples do
    get 'other_route'
  end

  admin_for :bananas
  admin_for :oranges

  admin_for :not_obvious, controller: :other do
    collection do
      get 'responds_with_200'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ceo-0.2.0 test/dummy/config/routes.rb