diff --git a/lib/controlled_vocabulary_helper.rb b/lib/controlled_vocabulary_helper.rb
index 69318e9..57f012c 100644
--- a/lib/controlled_vocabulary_helper.rb
+++ b/lib/controlled_vocabulary_helper.rb
@@ -1,14 +1,15 @@
module ControlledVocabularyHelper
def self.get_categories_as_options
- categories = ["".html_safe]
+ categories = ["".html_safe]
+ value = 1
ControlledVocabulary.attribute_names.each do |attribute|
if attribute.to_s != "id" && attribute.to_s != "software_info_id" then
- categories << "".html_safe
+ categories << "".html_safe
+ value+=1
end
end
-
categories
end
end
--
libgit2 0.21.2