lib/puffer/extensions/mapper.rb in puffer-0.0.23 vs lib/puffer/extensions/mapper.rb in puffer-0.0.24

- old
+ new

@@ -65,10 +65,11 @@ options = {:plural => false, :ancestors => @scope[:ancestors].dup, :children => @scope[:children].dup} siblings.push resource.singular.to_sym @scope[:children] = siblings collection do + get '/event/:fieldset/:field/:event(/:identifer)', options.merge(:action => :event, :as => :event) post :create, options controller._collections.each do |args| opts = args.extract_options!.dup args.push options.reverse_merge(opts) send *args @@ -126,9 +127,10 @@ @scope[:children] = siblings collection do get :index, options + get '/event/:fieldset/:field/:event(/:identifer)', options.merge(:action => :event, :as => :event) post :create, options controller._collections.each do |args| opts = args.extract_options!.dup args.push options.reverse_merge(opts) send *args