Browse Source

Change Header1

pull/278/head
sylor_huang@126.com 5 years ago
parent
commit
a6a745da93
2 changed files with 9 additions and 2 deletions
  1. +1
    -1
      app/controllers/concerns/laboratory_helper.rb
  2. +8
    -1
      db/seeds.rb

+ 1
- 1
app/controllers/concerns/laboratory_helper.rb 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



+ 8
- 1
db/seeds.rb 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

Loading…
Cancel
Save