method

compile

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::TemplateHandlers::RJS
compile(template) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/template_handlers/rjs.rb, line 10
      def compile(template)
        "controller.response.content_type ||= Mime::JS\n" +
        "update_page do |page|\n#{template.source}\nend"
      end
Register or log in to add new notes.