diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-04-03 00:12:11 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-04-03 00:12:11 +0000 |
commit | fcfe3febd3cbf535dbd4ae47563b4876f7a42239 (patch) | |
tree | 70d71cad02dc40832a3c0fb5be005edad40a412b /actionwebservice/lib/action_web_service/scaffolding.rb | |
parent | 353497458b460d03114905e001f782c6f0b463fa (diff) | |
download | rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.tar.gz rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.tar.bz2 rails-fcfe3febd3cbf535dbd4ae47563b4876f7a42239.zip |
allow selecting the protocol to use when invoking the
scaffolded method. fix bug in walking delegated container
services.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/scaffolding.rb')
-rw-r--r-- | actionwebservice/lib/action_web_service/scaffolding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/scaffolding.rb b/actionwebservice/lib/action_web_service/scaffolding.rb index 0fab01eced..e0938faf66 100644 --- a/actionwebservice/lib/action_web_service/scaffolding.rb +++ b/actionwebservice/lib/action_web_service/scaffolding.rb @@ -168,7 +168,7 @@ module ActionWebService if @real_container.class.web_service_dispatching_mode == :direct @services << Service.new(@real_container.controller_name, @real_container) else - @real_container.class.web_services.each do |name| + @real_container.class.web_services.each do |name, obj| @services << Service.new(name, @real_container.instance_eval{ web_service_object(name) }) end end |