Skip to content

Commit

Permalink
Improved routing helpers to make Rails master work (fixes #108)
Browse files Browse the repository at this point in the history
  • Loading branch information
inossidabile committed Sep 3, 2013
1 parent 165fe71 commit c594922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/wash_with_soap/document/wsdl.builder
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ xml.definitions 'xmlns' => 'http://schemas.xmlsoap.org/wsdl/',

xml.service :name => "service" do
xml.port :name => "#{@name}_port", :binding => "tns:#{@name}_binding" do
xml.tag! "soap:address", :location => url_for(:action => '_action', :only_path => false)
xml.tag! "soap:address", :location => send("#{@name}_action_url")
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/wash_with_soap/rpc/wsdl.builder
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ xml.definitions 'xmlns' => 'http://schemas.xmlsoap.org/wsdl/',

xml.service :name => "service" do
xml.port :name => "#{@name}_port", :binding => "tns:#{@name}_binding" do
xml.tag! "soap:address", :location => url_for(:action => '_action', :only_path => false)
xml.tag! "soap:address", :location => send("#{@name}_action_url")
end
end

Expand Down

0 comments on commit c594922

Please sign in to comment.