Sha256: 42586fe241e37bceefe70d887bc44deeef63327f5ca5ee5db9e601b0250ee256

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

AckRocketCmsCatalog::Engine.routes.draw do
  resources :items, only: [:show] do
    get '(/page/:page)', action: :index, on: :collection, as: ""
  end
  resources :item_categories, only: [:index, :show], path: "catalog" do
    get 'items(/page/:page)', action: :items, on: :member, as: :items
  end
  get 'catalog' => 'item_categories#index', as: :catalog
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ack_rocket_cms_catalog-0.2.0 config/routes.rb