```ruby
class ProjectsController < ApplicationController
  def show
    @project = Project.find params[:id]
  end
end
```

Add index action on projects controller
user
```ruby
class ProjectsController < ApplicationController
  def show
    @project = Project.find params[:id]
  end

  def index
    @projects = Project.all
  end
end
```
assistant