Skip to content

Commit

Permalink
Rubocop: Useless variable assignment - though this might be a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Feb 10, 2017
1 parent 6d20167 commit c176d63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/fields/field.rb
Expand Up @@ -113,7 +113,6 @@ def field_types
# Example options: :as => 'datepair', :type => 'date', :klass => 'CustomFieldDatePair'
#------------------------------------------------------------------------------
def register(options)
opts = options.dup
as = options.delete(:as)
(@@field_types ||= BASE_FIELD_TYPES).merge!(as => options)
end
Expand Down

0 comments on commit c176d63

Please sign in to comment.