class Rack::Mongoid::Controllers::IndexController
Private Instance Methods
response_body()
click to toggle source
# File lib/rack/mongoid/controllers/index_controller.rb, line 7 def response_body JSON.pretty_generate(connection.find.to_a) + "\n" end