Move the user api methods into a separate controller in the api namespace

This commit is contained in:
Andy Allan 2019-02-24 14:34:15 +01:00
parent b38343e5bd
commit 4b4c5aac2f
8 changed files with 275 additions and 240 deletions

View file

@ -0,0 +1,4 @@
xml.instruct! :xml, :version => "1.0"
xml.osm(OSM::API.new.xml_root_attributes) do |osm|
osm << render(:partial => "api_user", :collection => @users)
end