show onboarding page when currency is not set

This commit is contained in:
Bilal
2020-10-06 14:17:18 +03:00
parent 6fb30209da
commit cd88d21a26
10 changed files with 87 additions and 7 deletions

View File

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

View File

@@ -1,6 +1,7 @@
Rails.application.routes.draw do
constraints format: :json do
scope :api do
resources :original_gangstas, only: [:show, :update]
resources :money_moves
resources :work
resources :chips, only: %i[index create destroy]