Flowdock
method

initialize_template_class

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::Base
initialize_template_class(response) private

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_controller/base.rb, line 1117
      def initialize_template_class(response)
        unless @@template_class
          raise "You must assign a template class through ActionController.template_class= before processing a request"
        end

        response.template = ActionView::Base.new(view_paths, {}, self)
        response.template.extend self.class.master_helper_module
        response.redirected_to = nil
        @performed_render = @performed_redirect = false
      end
Register or log in to add new notes.