[refs #2161] Fix DOWNLOADS_PATH

This commit is contained in:
konstantin.grabar 2011-10-31 18:37:13 +04:00
parent 06aed1193d
commit 3177ae3c7f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#require 'lib/build_server.rb'
class Platform < ActiveRecord::Base
DOWNLOADS_PATH = Rails.root + '/public/downloads'
DOWNLOADS_PATH = RAILS_ROOT + '/public/downloads'
VISIBILITIES = ['open', 'hidden']
relationable :as => :target