Displaying 1 result from an estimated 1 matches for "header_image".
2005 Dec 18
0
Caching question
...ly it just had "def index" but I
added "def 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 => &qu...