Skip to content

Commit

Permalink
Update app/controllers/mentor/practices_controller.rb
Browse files Browse the repository at this point in the history
Co-authored-by: よっちゃん <[email protected]>
  • Loading branch information
taco and yocchan-git authored Mar 7, 2024
1 parent 742906e commit ecf6e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mentor/practices_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Mentor::PracticesController < ApplicationController
before_action :set_practice, only: %i[edit update]

def index
@practices = Practice.preload(:categories, :products, :reports, :questions).all.order(:id)
@practices = Practice.preload(:categories, :products, :reports, :questions).order(:id)
end

def new
Expand Down

0 comments on commit ecf6e09

Please sign in to comment.