Sha256: f0513d0577b2f6c044f7f637c0f81950b11bec5adfe200d2b44f65103eda8a08

Contents?: true

Size: 261 Bytes

Versions: 6

Compression:

Stored size: 261 Bytes

Contents

Rails.application.routes.draw do
  resources :components, only: [:index, :show] do
    collection do
      Styleus::COMPONENT_SPACES.each do |c|
        resources c, only: [:index, :show], controller: :components, components: c.to_s
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
styleus-0.0.10 config/routes.rb
styleus-0.0.9 config/routes.rb
styleus-0.0.8 config/routes.rb
styleus-0.0.7 config/routes.rb
styleus-0.0.6 config/routes.rb
styleus-0.0.5 config/routes.rb