Sha256: 685435a2920f6ea90430fd43baff7e4152a85115f024003d094a2e4ea0b311f5
Contents?: true
Size: 846 Bytes
Versions: 17
Compression:
Stored size: 846 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.namespace :admin, :path_prefix => '/admin/event_calendar' do |cal| cal.resources :calendars, :member => {:remove => :get} cal.resources :icals, :collection => {:refresh_all => :any}, :member => {:refresh => :put} cal.resources :events, :member => {:remove => :get} cal.resources :event_venues, :member => {:remove => :get}, :has_many => :events cal.calendars_home '/', :controller => 'events', :action => 'index' end map.calendar "/calendar.:format", :controller => 'events', :action => 'index' map.calendar_year "/calendar/:year", :controller => 'events', :action => 'index' map.calendar_month "/calendar/:year/:month", :controller => 'events', :action => 'index' map.calendar_day "/calendar/:year/:month/:mday", :controller => 'events', :action => 'index' end
Version data entries
17 entries across 17 versions & 1 rubygems