Displaying 1 result from an estimated 1 matches for "siteoption".
Did you mean:
site_options
2005 Dec 18
0
Caching question
...What am I missing?
Here is my home_controller.rb file. Initially 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'', :condi...