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:
1 parent
f2706ff2c1
commit
7729161123
9 files changed
+71
-15
No files matched your search
@@ -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' }
|
||||
|
||||
Reference in new issue
Block a user