mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* Use Redis for ActiveJob and ActionCable * Fix alwaysApply setting * Update queue names and weights * Tweak weights * Update job queues * Update docker setup guide * Remove deprecated upgrade columns from users table * Refactor Redis configuration for Sidekiq and caching in production environment * Add Sidekiq Sentry monitoring * queue naming fix * Clean up schema
29 lines
714 B
Ruby
29 lines
714 B
Ruby
class PagesController < ApplicationController
|
|
skip_before_action :authenticate_user!, only: %i[early_access]
|
|
include Periodable
|
|
|
|
def dashboard
|
|
@balance_sheet = Current.family.balance_sheet
|
|
@accounts = Current.family.accounts.active.with_attached_logo
|
|
|
|
@breadcrumbs = [ [ "Home", root_path ], [ "Dashboard", nil ] ]
|
|
end
|
|
|
|
def changelog
|
|
@release_notes = Providers.github.fetch_latest_release_notes
|
|
|
|
render layout: "settings"
|
|
end
|
|
|
|
def feedback
|
|
render layout: "settings"
|
|
end
|
|
|
|
def early_access
|
|
redirect_to root_path if self_hosted?
|
|
|
|
@invite_codes_count = InviteCode.count
|
|
@invite_code = InviteCode.order("RANDOM()").limit(1).first
|
|
render layout: false
|
|
end
|
|
end
|