Fix bug when homepage

This commit is contained in:
Christophe Vilayphiou 2012-05-04 15:08:42 +08:00
parent 119d8ff13a
commit 8f1ce78ab4
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class ApplicationController < ActionController::Base
end
# Render the page
def render_page(param)
def render_page(param={})
if @item
render :text => process_page(@item, param[:id], param), :layout => 'page_layout'
else