public
Description: resources_controller rails plugin: rc makes RESTful controllers fun
Homepage: http://plugins.ardes.com/doc/resources_controller
Clone URL: git://github.com/ianwhite/resources_controller.git
Click here to lend your support to: resources_controller and make a donation at www.pledgie.com !
Adding explicit call to service.new, because of recent change in rails (see 
http://rails.lighthouseapp.com/projects/8994/tickets/1083)
ianwhite (author)
Mon Oct 13 16:08:37 -0700 2008
commit  f4e178155daa57482c653c62daba1f630d70eba5
tree    119b50a1caa7533565e54f06456d914decb312d2
parent  1cf438fcf18dff7036186497bb7d1e47ec573e73
...
824
825
826
 
 
 
 
827
828
829
...
824
825
826
827
828
829
830
831
832
833
0
@@ -824,6 +824,10 @@ module Ardes#:nodoc:
0
         resource_specification.find ? resource_specification.find_custom(controller) : super
0
       end
0
       
0
+      def new(*args, &block)
0
+        service.new(*args, &block)
0
+      end
0
+      
0
       def respond_to?(method)
0
         super || service.respond_to?(method)
0
       end

Comments