Remove useless code not removed in merge
Fix argument bug in link_to_field
This commit is contained in:
1 parent
d19ba7b1c6
commit
39c6660c67
5 files changed
+5
-30
No files matched your search
@@ -3,7 +3,7 @@ module DefaultWidgetHelper
|
||||
I18n.t("#{@page_part.module_app.key}.default_widget.#{field}")
|
||||
end
|
||||
|
||||
def link_to_field(row_data,field, options=nil, switch)
|
||||
def link_to_field(row_data,field, switch, options=nil)
|
||||
method_ary = @page_part.module_app.widget_fields_link_method
|
||||
field = field.to_sym
|
||||
if(method_ary.has_key?(field) and (switch == "true"))
|
||||
|
||||
Reference in new issue
Block a user