Skip to content

Commit

Permalink
Remove unneeded instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored and butsjoh committed Nov 28, 2013
1 parent d16a81e commit e68979c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/simple_form/components/labels.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def label_html_options
if options.key?(:input_html) && options[:input_html].key?(:id)
label_options[:for] = options[:input_html][:id]
end
@label_options = label_options

label_options
end

protected
Expand Down

0 comments on commit e68979c

Please sign in to comment.