Move the user api methods into a separate controller in the api namespace
This commit is contained in:
parent
b38343e5bd
commit
4b4c5aac2f
8 changed files with 275 additions and 240 deletions
4
app/views/api/users/api_users.builder
Normal file
4
app/views/api/users/api_users.builder
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue