Files
old-roraccounting/config/routes.rb

14 lines
275 B
Ruby

Rails.application.routes.draw do
constraints format: :json do
resources :money_moves
resources :homies do
collection do
get 'cash'
end
end
end
get '*path', to: 'static#frontend_static'
root to: 'static#frontend_index_html'
end