fix argument passing problem for more link and tag cloud, incomplete code.

This commit is contained in:
Matthew K. Fu JuYuan authored and Matt K. Fu committed 2013-06-06 17:21:27 +08:00
1 parent 6b8b749b0f
commit 5c94200b77
2 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -32,7 +32,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 unless save_from_no_lang_for_page
render_page(params) unless save_from_no_lang_for_page
end
when 'Link'
redirect_to(@item[:url]) unless save_from_no_lang_for_page