Sha256: 8aff126826490183cf062940dbc6a46636b32730dd9ed0593649995d5774eb1b
Contents?: true
Size: 191 Bytes
Versions: 2
Compression:
Stored size: 191 Bytes
Contents
module ActionController class Base def render_json(options = {}, &block) json = Jsonity::Builder.build &block options[:json] = json render options end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jsonity-1.0.1 | lib/jsonity/rails.rb |
jsonity-1.0.0 | lib/jsonity/rails.rb |