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
|
||||
*.log
|
||||
|
||||
.env
|
||||
# mac
|
||||
*.DS_Store
|
||||
.bashrc
|
||||
|
|
|
@ -46,7 +46,7 @@ class Page < ApplicationRecord
|
|||
|
||||
def url
|
||||
@deploy_domain = EduSetting.find_by_name("site_page_deploy_domain").try(:value)
|
||||
"http://#{user.login}.#{@deploy_domain}/#{identifier}"
|
||||
"http://#{identifier}"
|
||||
end
|
||||
|
||||
def build_script_path
|
||||
|
|
Loading…
Reference in New Issue