diff --git a/app/models/platform.rb b/app/models/platform.rb index d14451396..a3679a9e6 100644 --- a/app/models/platform.rb +++ b/app/models/platform.rb @@ -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