Skip to content

Commit

Permalink
This closes metaminded#65
Browse files Browse the repository at this point in the history
  • Loading branch information
mlt committed Jun 18, 2018
1 parent 512d9a0 commit 2135e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tabulatr/data/button_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def val
end

def button(icon, path, options={})
label = options.dup.delete(:label)
label = options.delete(:label)
if @mode == :buttons
@buttons << {icon: icon, label: label, path: path, options: options}
else
Expand Down

0 comments on commit 2135e5a

Please sign in to comment.