chore: init commit

in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
2026-08-11 14:44:09 -04:00
parent 0012380fd3
commit 392781f7aa
781 changed files with 65944 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# frozen_string_literal: true
class PortfoliosController < ApplicationController
before_action :set_portfolio
before_action :authenticate_user!
def show
authorize @portfolio
@stocks = @portfolio.stocks
@earnings_summary = EarningsSummary.new(@portfolio)
end
private
def set_portfolio
@portfolio = Portfolio.find(params.expect(:id))
end
end