public
Description: response for lets you decorate your actions respond_to blocks
Homepage: http://blog.ardes.com/response_for
Clone URL: git://github.com/ianwhite/response_for.git
Click here to lend your support to: response_for and make a donation at www.pledgie.com !
Fixed bug where include_responses_for should have splatted the args
ianwhite (author)
Thu Oct 09 21:26:23 -0700 2008
commit  d8ca73c5b9a8deb0b879eaff4d6c2f7cf8faf003
tree    077d5f9a892d4b165c9af0bd35321436567cd22d
parent  06da19df4080be542920ccb40a9add8107d5898b
...
107
108
109
110
 
111
112
113
...
107
108
109
 
110
111
112
113
0
@@ -107,7 +107,7 @@ module Ardes #:nodoc:
0
       def include_responses_from(responses_container)
0
         responses_container.action_responses.each do |action, responses|
0
           action_responses[action] ||= []
0
-          action_responses[action].unshift(responses)
0
+          action_responses[action].unshift(*responses)
0
         end
0
       end
0
       

Comments