2019-06-20 20:48:19 +02:00
|
|
|
Rails.application.routes.draw do
|
2019-06-21 20:01:43 +02:00
|
|
|
constraints format: :json do
|
2019-06-22 06:17:48 +02:00
|
|
|
resources :money_moves
|
|
|
|
|
resources :homies do
|
|
|
|
|
collection do
|
|
|
|
|
get 'cash'
|
|
|
|
|
end
|
|
|
|
|
end
|
2019-06-21 20:01:43 +02:00
|
|
|
end
|
2020-05-21 18:14:15 +02:00
|
|
|
|
2020-05-21 19:48:20 +02:00
|
|
|
get '*path', to: 'static#frontend_static'
|
|
|
|
|
root to: 'static#frontend_index_html'
|
2019-06-20 20:48:19 +02:00
|
|
|
end
|