debt-manager/config/routes.rb
Louis Vallat edf60e9557
feat: added spendings for bubbles
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2023-12-31 19:06:33 +01:00

14 lines
355 B
Ruby

Rails.application.routes.draw do
root "application#index"
devise_for :users
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Defines the root path route ("/")
get :home, controller: :profile
resources :bubbles do
resources :spendings, only: [:new, :create]
get :confirm_destroy
end
end