```ruby
class ItemsController < ApplicationController
  def index
    @items = Item.all
  end

  def show
    
  end

end
```

Create instance variable that finds current item based on url params
user
```ruby
class ItemsController < ApplicationController
  def index
    @items = Item.all
  end

  def show
    @item = Item.find(params[:id])
  end

end
```
assistant