Fix bug when homepage
This commit is contained in:
parent
119d8ff13a
commit
8f1ce78ab4
|
@ -96,7 +96,7 @@ class ApplicationController < ActionController::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
# Render the page
|
# Render the page
|
||||||
def render_page(param)
|
def render_page(param={})
|
||||||
if @item
|
if @item
|
||||||
render :text => process_page(@item, param[:id], param), :layout => 'page_layout'
|
render :text => process_page(@item, param[:id], param), :layout => 'page_layout'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue