Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 148aff2097
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.313 kB
module ActionView
module TemplateHandlers
class RJS < TemplateHandler
include Compilable
def compile(template)
"@template_format = :html;" +
"controller.response.content_type ||= Mime::JS;" +
"update_page do |page|;#{template.source}\nend"
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.