Rework to ensure views are named after the controller method name

This commit is contained in:
Andy Allan 2019-06-26 12:52:21 +02:00
parent 17e6e69c39
commit c24b0e9399
4 changed files with 9 additions and 11 deletions

View file

@ -0,0 +1,7 @@
xml.instruct! :xml, :version => "1.0"
xml.osm(OSM::API.new.xml_root_attributes) do |osm|
@traces.each do |trace|
osm << render(:partial => "api/traces/trace", :locals => { :trace => trace })
end
end