Sha256: 6e872b01a030c1f46cdac2962ebf2daa2644e649cea7e980760b80287e0dd24a
Contents?: true
Size: 275 Bytes
Versions: 4
Compression:
Stored size: 275 Bytes
Contents
module ActionView module TemplateHandlers class RJS < TemplateHandler include Compilable def compile(template) "controller.response.content_type ||= Mime::JS;" + "update_page do |page|;#{template.source}\nend" end end end end
Version data entries
4 entries across 3 versions & 2 rubygems