Visage::Application
Wraps json with a callback method that JSON-P clients can call.
# File lib/visage-app.rb, line 150 def maybe_wrap_with_callback(json) params[:callback] ? params[:callback] + '(' + json + ')' : json end
[Validate]
Generated with the Darkfish Rdoc Generator 2.