Quick fix for front end reloading

This commit is contained in:
chris 2013-10-08 14:52:24 +08:00
parent cf7f7aa29c
commit cce68beff1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class PagesController < ApplicationController
if params[:clicked_field_name]
render_page({"clicked_field_name"=>params["clicked_field_name"]}) unless save_from_no_lang_for_page
else
render_page(params) unless save_from_no_lang_for_page
render_page(params.except(:controller, :action, :page_name)) unless save_from_no_lang_for_page
end
when 'Link'
redirect_to(@item[:url]) unless save_from_no_lang_for_page