diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/dispatcher/abstract.rb')
-rw-r--r-- | actionwebservice/lib/action_web_service/dispatcher/abstract.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb index 4c184fb140..69c3b9de3b 100644 --- a/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +++ b/actionwebservice/lib/action_web_service/dispatcher/abstract.rb @@ -76,10 +76,7 @@ module ActionWebService # :nodoc: invocation.api = self.class.web_service_api invocation.service = self when :delegated, :layered - invocation.service = web_service_object(invocation.service_name) rescue nil - unless invocation.service - raise(DispatcherError, "service #{invocation.service_name} not available") - end + invocation.service = web_service_object(invocation.service_name) invocation.api = invocation.service.class.web_service_api end request.api = invocation.api |