```ruby
class CategoriesController < ApplicationController
  def index

  end

  def new

  end

end
```

Create instance variables within the categories controller
user
```ruby
class CategoriesController < ApplicationController
  def index
    @categories = Category.all
  end

  def new
    @category = Category.new
  end

end
```
assistant