aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/container
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/lib/action_web_service/container')
-rw-r--r--actionwebservice/lib/action_web_service/container/action_controller_container.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/container/action_controller_container.rb b/actionwebservice/lib/action_web_service/container/action_controller_container.rb
index 12a566ef8e..06b47e9d79 100644
--- a/actionwebservice/lib/action_web_service/container/action_controller_container.rb
+++ b/actionwebservice/lib/action_web_service/container/action_controller_container.rb
@@ -86,7 +86,7 @@ module ActionWebService # :nodoc:
inherited_without_api(child)
begin child.web_service_api(child.controller_path)
rescue MissingSourceFile => e
- raise unless e.path == "apis/#{child.controller_path}_api.rb"
+ raise unless e.is_missing?("apis/#{child.controller_path}_api")
end
end
end