rename original gangsta to gang
This commit is contained in:
@@ -17,5 +17,4 @@
|
||||
|
||||
ActiveSupport::Inflector.inflections do |inflect|
|
||||
inflect.irregular 'work', 'work'
|
||||
inflect.irregular 'gangsta', 'gangstas'
|
||||
end
|
||||
@@ -1,7 +1,7 @@
|
||||
Rails.application.routes.draw do
|
||||
constraints format: :json do
|
||||
scope :api do
|
||||
resources :original_gangstas, only: [:show, :update]
|
||||
resources :gangs, only: [:show, :update]
|
||||
resources :money_moves
|
||||
resources :work
|
||||
resources :chips, only: %i[index create destroy]
|
||||
|
||||
Reference in New Issue
Block a user