Skip to content

Commit f895313

Browse files
committed
Merge remote-tracking branch 'origin/master' into framework-ui
2 parents d3ebf9c + 2656c30 commit f895313

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<%= display_dynamic_action_group(@action_links, display_action_links(@action_links, @record, for: @record, output: []), @record) %>
1+
<%= display_dynamic_action_group(@action_links, display_action_links(@action_links, @record, for: @record, output: []).compact, @record) %>

lib/active_scaffold/helpers/action_link_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def display_action_links(action_links, record, options, &block)
3535
options[:options_level_0_tag] ||= nil
3636
options[:level] ||= 0
3737
options[:first_action] = true
38-
output = options[:output] || ActiveSupport::SafeBuffer.new
38+
output = options.delete(:output) || ActiveSupport::SafeBuffer.new
3939
prev_link = separator = nil
4040

4141
action_links.each(reverse: options.delete(:reverse), groups: true) do |link|

0 commit comments

Comments
 (0)