Change Header1

This commit is contained in:
sylor_huang@126.com 2020-09-16 14:58:12 +08:00
parent 5bef80ee58
commit a6a745da93
2 changed files with 9 additions and 2 deletions

View File

@ -43,7 +43,7 @@ module LaboratoryHelper
# my_organ: "https://www.trustie.net/users/#{current_user.try(:login)}/user_organizations",
# default_url: "https://www.trustie.net/",
tiding_url: "http://39.105.176.215/users/#{current_user.try(:login)}/user_tidings",
# register_url: "https://www.trustie.net/login?login=false"
register_url: "http://39.105.176.215/login"
}
end

View File

@ -28,4 +28,11 @@
# vod_status: "uploaded",
# published_at: nil,
# filesize: 14877403
# }
# }
# lan_ids = ProjectLanguage.select(:name, :id).pluck(:id) * 4
# projects = Project.where(project_language_id: [nil, ""])
# projects.each_with_index do |p,index|
# p.update_attribute(:project_language_id, lan_ids[index])
# end