budget/config/routes.rb

14 lines
423 B
Ruby

Rails.application.routes.draw do
resources :sessions, only: %i[new create]
resource :session, only: :destroy
resources :users
resources :credit_card_bills
resource :dashboard, only: :show
resources :incomes
resources :members
resources :expenses
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Defines the root path route ("/")
root "dashboard#show"
end