projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use standard padding size for map-ui sidebar
[rails.git]
/
app
/
controllers
/
api
/
users_controller.rb
diff --git
a/app/controllers/api/users_controller.rb
b/app/controllers/api/users_controller.rb
index 9da9d32266fd9860f0577626ffdd4c73d1ecf66f..ab48a518979427aba4e676b08238c025c838fda7 100644
(file)
--- a/
app/controllers/api/users_controller.rb
+++ b/
app/controllers/api/users_controller.rb
@@
-19,7
+19,7
@@
module Api
raise OSM::APIBadUserInput, "No users were given to search for" if ids.empty?
- @users = User.visible.
find(
ids)
+ @users = User.visible.
where(:id => ids).in_order_of(:id,
ids)
# Render the result
respond_to do |format|