|
|
|
@@ -16,7 +16,10 @@ class InstallationsController < ApplicationController |
|
|
|
end |
|
|
|
|
|
|
|
def repositories |
|
|
|
@install_bots = BotInstall.where(:installer_id => current_user.id) |
|
|
|
# 与github差异,所以取安装用户和bot对应所有的仓库 |
|
|
|
install_bot = BotInstall.find params[:id] |
|
|
|
bot = Bot.find_by(uid: current_user.id) |
|
|
|
@install_bots = BotInstall.where(bot_id: bot.id).where(:installer_id => install_bot.installer_id) |
|
|
|
end |
|
|
|
|
|
|
|
def update_secret |
|
|
|
|