Skip to content

Commit

Permalink
Merge pull request #327 from wearepal/project-index
Browse files Browse the repository at this point in the history
Performance updates on projects#index
  • Loading branch information
paulthatjazz authored Feb 5, 2024
2 parents 21c88d9 + 7ee7ece commit fbdbb79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class ProjectsController < ApplicationController
before_action :set_team, only: [:index, :new, :create]

def index
@projects = @team.projects.select(:id, :name, :created_at, :updated_at)
render layout: "team"
end

Expand Down

0 comments on commit fbdbb79

Please sign in to comment.