mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* Add new settings routes and controllers * Add new settings view, restructure controllers and routes * Fix lint errors
21 lines
463 B
Ruby
21 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
|