handle adding work for homie
This commit is contained in:
@@ -14,3 +14,7 @@
|
||||
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
# inflect.acronym 'RESTful'
|
||||
# end
|
||||
|
||||
ActiveSupport::Inflector.inflections do |inflect|
|
||||
inflect.irregular 'work', 'work'
|
||||
end
|
||||
@@ -2,6 +2,7 @@ Rails.application.routes.draw do
|
||||
constraints format: :json do
|
||||
scope :api do
|
||||
resources :money_moves
|
||||
resources :work
|
||||
resources :chips, only: %i[index create destroy]
|
||||
resources :chip_values, only: %i[create update destroy]
|
||||
resources :homies, param: :homie_id do
|
||||
|
||||
Reference in New Issue
Block a user