Sha256: 17c54040cfca1e6a31632953fa6f024e3eb761d383ab03b51fd2a5feceafacdb

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

namespace :admin do
    DashboardManifest::DASHBOARDS.each do |resource_class|
      resources(
        resource_class,
        controller: :application,
        resource_class: resource_class,
      )
    end

    root(
      action: :index,
      controller: :application,
      resource_class: DashboardManifest::ROOT_DASHBOARD,
    )
  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
administrate-0.0.11 lib/generators/administrate/install/templates/routes.rb
administrate-0.0.10 lib/generators/administrate/install/templates/routes.rb