mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-19 19:25:57 +08:00
settings增加old_projects_url
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class SettingsController < ApplicationController
|
||||
def show
|
||||
|
||||
@old_projects_url = nil
|
||||
@old_projects_url = "https://www.trustie.net/users/#{current_user.try(:login)}/projects" if current_user.present?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user