mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
12 lines
397 B
Ruby
12 lines
397 B
Ruby
class PagesController < ApplicationController
|
|
include Filterable
|
|
|
|
def dashboard
|
|
snapshot = Current.family.snapshot(@period)
|
|
@net_worth_series = snapshot[:net_worth_series]
|
|
@asset_series = snapshot[:asset_series]
|
|
@liability_series = snapshot[:liability_series]
|
|
@account_groups = Current.family.accounts.by_group(period: @period, currency: Current.family.currency)
|
|
end
|
|
end
|