method

compile

Importance_0
v2.0.3 - 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 8
      def compile(template)
        "controller.response.content_type ||= Mime::JS\n" +
        "update_page do |page|\n#{template}\nend"
      end
Register or log in to add new notes.