Fixed: NoMethodError

This commit is contained in:
Vokhmin Alexey V 2013-04-25 20:37:07 +04:00
parent f814506c6f
commit 9101f68bab
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class Repository < ActiveRecord::Base
protected
def detele_directory
return unless platform
repository_path = platform.path << '/repository'
if platform.personal?
Platform.main.pluck(:name).each do |main_platform_name|