Sha256: a56995a49ed387148e3f251520edb7dbfd1348364b1411ac7aee56547d6284ef

Contents?: true

Size: 501 Bytes

Versions: 9

Compression:

Stored size: 501 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.daily_schedule    "/events/:year/:month/:day.:format", :controller => 'schedular/events', :requirements => {:year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/}
  map.monthly_schedule  "/events/:year/:month.:format",      :controller => 'schedular/events', :requirements => {:year => /\d{4}/, :month => /\d{1,2}/}
  map.resources         :events,                             :controller => 'schedular/events', :name_prefix => 'schedular_'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
schedular-0.1.10 config/routes.rb
schedular-0.1.9 config/routes.rb
schedular-0.1.8 config/routes.rb
schedular-0.1.7 config/routes.rb
schedular-0.1.5 config/routes.rb
schedular-0.1.4 config/routes.rb
schedular-0.1.3 config/routes.rb
schedular-0.1.2 config/routes.rb
schedular-0.1.1 config/routes.rb