Commit 7babc28fbd84cda7df223cb34efdb5b8ba415c44
1 parent
2bc40949
Exists in
master
and in
5 other branches
Add license_info in software before save
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/software_info.rb
... | ... | @@ -67,6 +67,7 @@ class SoftwareInfo < ActiveRecord::Base |
67 | 67 | else |
68 | 68 | community = Community.new(:name => name) |
69 | 69 | community.environment = environment |
70 | + software_info.license_info = license_info | |
70 | 71 | software_info.save |
71 | 72 | community.software_info = software_info |
72 | 73 | community.save! | ... | ... |