budget/app/controllers/dashboard_controller.rb

8 lines
169 B
Ruby
Raw Normal View History

class DashboardController < ApplicationController
def show
@incomes = Income.includes(:member).all
@expenses = Expense.all
@members = Member.all
end
end