private Method

Base.initialize_template_class(response)

There's no documentation for this item.

Source Code

# File action_controller/base.rb, line 1123
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(self.class.view_paths, {}, self)
  response.template.extend self.class.master_helper_module
  response.redirected_to = nil
  @performed_render = @performed_redirect = false
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.