Sha256: 88cccf3290078da53a0471372dffe8cb7359d6fe40c1d2e479c7e45da9cf335d

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

Spree::Core::Engine.routes.draw do
  namespace :admin do
    resources :auctions
    resources :bids
    resource :auction_settings, only: ['show', 'update', 'edit']
  end
  resources :auctions, only: %i{index show}
  resources :votes, only: %i{index}
  get 'vote_up', to: "auctions#vote_up"
  get 'vote_down', to: "auctions#vote_down"
  get 'vote_count', to: "auctions#vote_count"
  get 'starting_soon', to: "auctions#starting_soon"
  get 'ending_soon', to: "auctions#ending_soon"
  get 'recently_completed', to: "auctions#recently_completed"

  resources :bids, only: %i{index new create}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 config/routes.rb
solidus_auction-0.0.5 config/routes.rb
solidus_auction-0.0.4 config/routes.rb
solidus_auction-0.0.3 config/routes.rb
solidus_auction-0.0.1 config/routes.rb