Skip to content

Commit

Permalink
nil.gsub in ActionController::Base no more
Browse files Browse the repository at this point in the history
  • Loading branch information
edebill committed Sep 6, 2010
1 parent 7e1af1a commit 0a5db71
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def web_client_api(name, protocol, endpoint_uri, options={})
define_method(name) do
create_web_service_client(api_klass, protocol, endpoint_uri, options)
end
protected name
# protected name
end
end
end
Expand Down Expand Up @@ -79,7 +79,13 @@ def require_web_service_api(name) # :nodoc:
end
end

def name
self.class.to_s
end

private


def inherited_with_api(child)
inherited_without_api(child)
begin child.web_service_api(child.controller_path)
Expand Down

0 comments on commit 0a5db71

Please sign in to comment.