Files
old-roraccounting/config/routes.rb
2020-09-04 08:44:06 +03:00

18 lines
427 B
Ruby

Rails.application.routes.draw do
constraints format: :json do
namespace :api do
resources :money_moves
resources :chips, only: %i[index create destroy]
resources :chip_values, only: %i[create update destroy]
resources :homies do
collection do
get 'cash'
end
end
end
end
get '*path', to: 'static#frontend_static'
root to: 'static#frontend_index_html'
end