```ruby
Rails.application.routes.draw do
  resources :posts

  root to: "users#index"

  resources :users

  mount Pancakes::Engine, at: "/pg"
end
```

Add article index as root
user
```ruby
Rails.application.routes.draw do
  root to: "posts#index"

  resources :posts
  resources :users

  mount Pancakes::Engine, at: "/pg"
end
```
assistant