Commit 9cd1d18c6374e24f769adaa7abb912ecf794cc5a

Authored by Thiago Ribeiro
1 parent 484f4dee
Exists in master and in 1 other branch stable

Fix when software dont have community.

db/migrate/20150727161511_change_software_layout.rb
... ... @@ -7,9 +7,10 @@ class ChangeSoftwareLayout < ActiveRecord::Migration
7 7  
8 8 softwares = SoftwareInfo.all
9 9 softwares.each do |software|
10   - change_layout(software.community)
  10 + if software.community
  11 + change_layout(software.community)
  12 + end
11 13 end
12   -
13 14 puts ""
14 15 end
15 16  
... ...