eager load procedure logo
This commit is contained in:
parent
acf078c726
commit
951d4c0025
1 changed files with 3 additions and 1 deletions
|
@ -251,7 +251,9 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def procedure
|
||||
Procedure.find(procedure_id)
|
||||
Procedure
|
||||
.with_attached_logo
|
||||
.find(procedure_id)
|
||||
end
|
||||
|
||||
def ensure_ownership!
|
||||
|
|
Loading…
Reference in a new issue