From 3177ae3c7f30e516bff3413290f875b3d025569a Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Mon, 31 Oct 2011 18:37:13 +0400 Subject: [PATCH] [refs #2161] Fix DOWNLOADS_PATH --- app/models/platform.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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