mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
* Add new settings routes and controllers * Add new settings view, restructure controllers and routes * Fix lint errors
20 lines
463 B
Ruby
20 lines
463 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
|
|
|
|
def changelog
|
|
end
|
|
|
|
def feedback
|
|
end
|
|
|
|
def invites
|
|
end
|
|
end
|