debt-manager/config/routes.rb

14 lines
355 B
Ruby
Raw Normal View History

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