Archived
widget link followed by setting
This commit is contained in:
1 parent
28f0df5da8
commit
3098496083
6 files changed
+22
-10
No files matched your search
@@ -101,10 +101,10 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
# Render the page
|
||||
def render_page
|
||||
def render_page(args=nil)
|
||||
if @item
|
||||
respond_to do |format|
|
||||
format.html { render :text => parse_page_content(@item), :layout => 'page_layout' }
|
||||
format.html { render :text => parse_page_content(@item,args), :layout => 'page_layout' }
|
||||
format.rss { render_main_rss }
|
||||
format.mobile { redirect_to mobile_path(:app => params[:app]) }
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user