mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 08:26:22 +00:00
Merge branch 'preview' into panel.sutty.nl
This commit is contained in:
commit
71ff2d3fd3
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class Site < ApplicationRecord
|
||||||
|
|
||||||
# El directorio donde se almacenan los sitios
|
# El directorio donde se almacenan los sitios
|
||||||
def self.site_path
|
def self.site_path
|
||||||
@site_path ||= ENV.fetch('SITE_PATH', Rails.root.join('_sites'))
|
@site_path ||= File.realpath(ENV.fetch('SITE_PATH', Rails.root.join('_sites')))
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.default
|
def self.default
|
||||||
|
|
Loading…
Reference in a new issue