Sha256: 7d63c1ebe608b80d8311cbb15bac604af02f969436da310079c838e5877ed5e3
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
Rails.application.routes.draw do # Calendar get 'calendar(/:month/:year)' => "calendars#show", :as => :calendar resources :calendar_events, :only => [:index, :show], :path => '/events' namespace :admin do resources :calendar_events, :except => [:index] resources :calendars, :except => [:index] get 'events(/:month(/:year(/:calendar)))' => "calendar_events#index", :as => "list_spud_calendar_events" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tb_events-1.1.2 | config/routes.rb |
tb_events-1.2.0.beta1 | config/routes.rb |
tb_events-1.1.1 | config/routes.rb |