Sha256: 7ce002096515bd0903582dba09ad7e0bc2e068882bb2257866e432898dea2aaf

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

module Annotations #:nodoc:
  def self.map_routes(map, collection={}, member={}, requirements={})
    map.resources :annotations,
                  :collection => { :create_multiple => :post }.merge(collection),
                  :member => {}.merge(member),
                  :requirements => { }.merge(requirements)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_annotations-0.6.0 lib/annotations/routing.rb
my_annotations-0.5.1 lib/annotations/routing.rb