fix for passing args. code in complete,fronted controller need to take care params,too. backend parser need to catch up.

This commit is contained in:
Matt K. Fu committed 2013-06-06 17:38:17 +08:00
1 parent f2706ff2c1
commit 7729161123
9 files changed
+71 -15

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ class ApplicationController < ActionController::Base
end
# Render the page
def render_page(args=nil)
def render_page(args={})
if @item
respond_to do |format|
format.html { render :text => parse_page_content(@item,args), :layout => 'page_layout' }