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 May 22, 2018
1 parent 7c8bd45 commit d0ad347
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 d0ad347

Please sign in to comment.