mod/history/set/all/action_view.rb in card-1.93.2 vs mod/history/set/all/action_view.rb in card-1.93.3

- old
+ new

@@ -11,17 +11,17 @@ def default_action_summary_args args default_action_expanded_args args end view :action_summary do |args| - render_action_content args[:action], :summary + action_content args[:action], :summary end view :action_content_toggle do |args| toggle_action_content_link args[:action], args[:view_type] end - def render_action_content action, view_type + def action_content action, view_type return "" unless action.present? wrap do [ action_content_toggle(action, view_type), content_diff(action, view_type)