Change the parser_front_end to be used in the structure for page edit, new_ui:save_pages must be run

This commit is contained in:
chris committed 2013-10-20 18:44:04 +08:00
1 parent 1ea8d9faf9
commit 2530dace02
7 files changed
+79 -28

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ class Admin::PagesController < Admin::ItemsController
def show
@item = Page.find(params[:id])
@no_orbit_bar = true
render layout: 'page_layout'
@edit = true
render :text => parse_page_content(@item), :layout => 'page_layout'
end
def new