27 Apr 2012

Accessing ActionView::Base in a ActionController in Rails 2.3

just came accross an instance variable of an ActionView::Base in ActionController, which is @template;
class AnyController < ApplicationController
  def index
    logger.debug @template.inspect #=> #
  end
end