rabl-rails/lib/rabl-fast-json/renderers/json.rb

9 lines
159 B
Ruby
Raw Normal View History

module RablFastJson
module Renderers
class JSON < Base
def format_output(hash)
ActiveSupport::JSON.encode(hash)
end
end
end
end