From beb4b02b54a4fa2a737cb2be521728cd8118cad6 Mon Sep 17 00:00:00 2001 From: Zakaria BOUZIANE Date: Tue, 30 Sep 2014 11:22:08 +0200 Subject: HUB Export : adding Group of Lines export --- app/controllers/referentials_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/referentials_controller.rb') diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index bf8a2f1ef..9cf4a5f62 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -26,7 +26,7 @@ class ReferentialsController < BreadcrumbController @referential ||= current_organisation.referentials.find_by_id(params[:id]) end def collection - @referentials ||= current_organisation.referentials + @referentials ||= current_organisation.referentials.order(:name) end def build_resource super.tap do |referential| -- cgit v1.2.3