```ruby
Rails.application.routes.draw do
  root 'items#index'

  get '/items', to: 'items#index'
  get '/items/new', to: 'items#new', as: 'new_item'
  post '/items', to: 'items#create'
  get '/items/:id', to: 'items#show', as: 'item'
  get '/items/:id/edit', to: 'items#edit', as: 'edit_item'
  patch '/items/:id', to: 'items#update'
  delete '/items/:id', to: 'items#destroy'

  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
```

Create new route for new users
user
```ruby
Rails.application.routes.draw do
  root 'items#index'

  get '/users/new', to: 'users#new'

  get '/items', to: 'items#index'
  get '/items/new', to: 'items#new', as: 'new_item'
  post '/items', to: 'items#create'
  get '/items/:id', to: 'items#show', as: 'item'
  get '/items/:id/edit', to: 'items#edit', as: 'edit_item'
  patch '/items/:id', to: 'items#update'
  delete '/items/:id', to: 'items#destroy'
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
```
assistant