diff options
Diffstat (limited to 'app/controllers/referentials_controller.rb')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index 9a9e9b151..ed20a6d17 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -73,7 +73,7 @@ class ReferentialsController < BreadcrumbController def resource - @referential ||= current_organisation.referentials.find_by_id(params[:id]) + @referential ||= current_organisation.find_referential(params[:id]) end def collection |
