Sha256: cf2b29682d519465764993b2ebd4478d93e1ffede26f03a7fa765c2932532c53

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

RailsAdserver::Engine.routes.draw do
  resources :adspaces

  resources :advertisements
  root :to => 'pages#home'
  match '/ad_rotator/:id',                      :to => 'pages#rotator'
  match '/click/:id',                           :to => 'advertisements#click',  :as => 'ad_click'
  match '/ad/space/:adspace_id/param/:id',      :to => 'advertisements#ad_param'
  match '/ad/space/:adspace_id',                :to => 'advertisements#ad_space'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 config/routes.rb
rails_adserver-1.0.1 config/routes.rb
rails_adserver-1.0.0 config/routes.rb