Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9e1f663588
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.329 kb
require 'action_controller'
require 'porth/format/json'
require 'porth/format/xml'
require 'porth/handler'
require 'porth/unknown_format_error'
Porth::Handler.register_format :json, Porth::Format::JSON
Porth::Handler.register_format :xml, Porth::Format::XML
ActionView::Template.register_template_handler :rb, Porth::Handler
Jump to Line
Something went wrong with that request. Please try again.