rename home page to root page

This commit is contained in:
Wen-Tien Chang 2009-06-01 14:52:37 +08:00
parent 5570a2dfbf
commit bd9ef6d286
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class PagesController < ApplicationController
def index
@page = Page.find_by_name('home')
@page = Page.find_by_name('root')
if @page
render_liquid_page
else