mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Merge pull request '调整page返回值' (#242) from KingChan/forgeplus:standalone_develop into standalone_develop
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user