```ruby
Review::Application.routes.draw do
  root to: 'ember#bootstrap'

  get '/auth' => 'sessions#index'
  get '/auth/:provider/callback' => 'sessions#create'
  get '/auth/failure' => 'sessions#failure'
  delete '/auth/signout' => 'sessions#destroy'

  namespace :api do
    namespace :v1 do
      resources :review_check, controller: 'projects', only: [:index]
      resources :trade_check, controller: 'trade', only: [:index]
    end

    namespace :v2 do
      resources :users, only: [:show, :index, :update]
      resources :commits, only: [:index, :update]
      resources :projects, only: [:index, :show]
      resources :permissions, only: [:index, :show, :create, :update]
      resources :tickets, only: [:show]
    end
  end

  namespace :payloads do
    resource :github_hooks, only: [:create]
  end
end
```

Add catch-all route for ember
user
```ruby
Review::Application.routes.draw do
  root to: 'ember#bootstrap'

  get '/auth' => 'sessions#index'
  get '/auth/:provider/callback' => 'sessions#create'
  get '/auth/failure' => 'sessions#failure'
  delete '/auth/signout' => 'sessions#destroy'

  namespace :api do
    namespace :v1 do
      resources :review_check, controller: 'projects', only: [:index]
      resources :trade_check, controller: 'trade', only: [:index]
    end

    namespace :v2 do
      resources :users, only: [:show, :index, :update]
      resources :commits, only: [:index, :update]
      resources :projects, only: [:index, :show]
      resources :permissions, only: [:index, :show, :create, :update]
      resources :tickets, only: [:show]
    end
  end

  namespace :payloads do
    resource :github_hooks, only: [:create]
  end

  get '/*path' => 'ember#bootstrap'
end
```
assistant