rename original gangsta to gang

This commit is contained in:
Bilal
2020-10-07 18:26:59 +03:00
parent b5a70a6e42
commit e0c5f60c68
13 changed files with 67 additions and 63 deletions

View File

@@ -17,5 +17,4 @@
ActiveSupport::Inflector.inflections do |inflect|
inflect.irregular 'work', 'work'
inflect.irregular 'gangsta', 'gangstas'
end

View File

@@ -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]