[refs #2161] Fix DOWNLOADS_PATH
This commit is contained in:
parent
06aed1193d
commit
3177ae3c7f
|
@ -1,6 +1,6 @@
|
||||||
#require 'lib/build_server.rb'
|
#require 'lib/build_server.rb'
|
||||||
class Platform < ActiveRecord::Base
|
class Platform < ActiveRecord::Base
|
||||||
DOWNLOADS_PATH = Rails.root + '/public/downloads'
|
DOWNLOADS_PATH = RAILS_ROOT + '/public/downloads'
|
||||||
VISIBILITIES = ['open', 'hidden']
|
VISIBILITIES = ['open', 'hidden']
|
||||||
|
|
||||||
relationable :as => :target
|
relationable :as => :target
|
||||||
|
|
Loading…
Reference in New Issue