Displaying 1 result from an estimated 1 matches for "header_text".
Did you mean:
  header_test
  
2005 Dec 18
0
Caching question
...home" while trying various solution.
class HomeController < ApplicationController
  caches_page :index
  caches_page :home
  layout "ui"
  def index
    @siteoption = Siteoption.GetSiteOptionHash("Home")
    @header_image = @siteoption["header_image"]
    @header_text = @siteoption["header_text"]
    @blogentry_pages, @blogentries = paginate :blogentry, :per_page => 10,
:order_by => ''created_on asc'', :conditions => "blog_id = 10"
    render(:template => "/home/index")
  end
  def home
    render(:actio...