2023-11-01 17:50:52 +01:00
|
|
|
Rails.application.routes.draw do
|
2023-11-01 20:54:06 +01:00
|
|
|
root "application#index"
|
|
|
|
devise_for :users
|
2023-11-01 17:50:52 +01:00
|
|
|
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
|
|
|
|
|
|
|
# Defines the root path route ("/")
|
2023-11-01 20:54:06 +01:00
|
|
|
get :home, controller: :profile
|
|
|
|
|
2023-12-31 19:06:33 +01:00
|
|
|
resources :bubbles do
|
|
|
|
resources :spendings, only: [:new, :create]
|
2023-11-01 20:54:06 +01:00
|
|
|
get :confirm_destroy
|
|
|
|
end
|
2023-11-01 17:50:52 +01:00
|
|
|
end
|