diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index 62e31231a..85a28583d 100644 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -319,6 +319,8 @@ class AssetsController < ApplicationController @asset = Asset.find_by(id: params[:id]) return render_404 unless @asset + current_user.permission_team = @asset.team + @assoc ||= @asset.step @assoc ||= @asset.result @assoc ||= @asset.repository_cell