forked from Gitlink/forgeplus
update model page url
This commit is contained in:
parent
f3376594f1
commit
3a0a95a18f
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
# Ignore lock config file
|
# Ignore lock config file
|
||||||
*.log
|
*.log
|
||||||
|
.env
|
||||||
# mac
|
# mac
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
.bashrc
|
.bashrc
|
||||||
|
|
|
@ -46,7 +46,7 @@ class Page < ApplicationRecord
|
||||||
|
|
||||||
def url
|
def url
|
||||||
@deploy_domain = EduSetting.find_by_name("site_page_deploy_domain").try(:value)
|
@deploy_domain = EduSetting.find_by_name("site_page_deploy_domain").try(:value)
|
||||||
"http://#{user.login}.#{@deploy_domain}/#{identifier}"
|
"http://#{identifier}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_script_path
|
def build_script_path
|
||||||
|
|
Loading…
Reference in New Issue