Quick fix for front end reloading
This commit is contained in:
parent
cf7f7aa29c
commit
cce68beff1
|
@ -26,7 +26,7 @@ class PagesController < ApplicationController
|
||||||
if params[:clicked_field_name]
|
if params[:clicked_field_name]
|
||||||
render_page({"clicked_field_name"=>params["clicked_field_name"]}) unless save_from_no_lang_for_page
|
render_page({"clicked_field_name"=>params["clicked_field_name"]}) unless save_from_no_lang_for_page
|
||||||
else
|
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
|
end
|
||||||
when 'Link'
|
when 'Link'
|
||||||
redirect_to(@item[:url]) unless save_from_no_lang_for_page
|
redirect_to(@item[:url]) unless save_from_no_lang_for_page
|
||||||
|
|
Loading…
Reference in New Issue