config/routes.rb in styleus-0.0.4 vs config/routes.rb in styleus-0.0.5
- old
+ new
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
- resources :components, only: [:index] 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