aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
authorZakaria BOUZIANE2014-09-30 11:22:08 +0200
committerZakaria BOUZIANE2014-09-30 11:22:08 +0200
commitbeb4b02b54a4fa2a737cb2be521728cd8118cad6 (patch)
treed4e7ccdaa45e62eb3dfd08ccb91a27a00d9d5deb /app/controllers/referentials_controller.rb
parent7971467d6e6661a8d03ba25f1ecd20761f633301 (diff)
downloadchouette-core-beb4b02b54a4fa2a737cb2be521728cd8118cad6.tar.bz2
HUB Export : adding Group of Lines export
Diffstat (limited to 'app/controllers/referentials_controller.rb')
-rw-r--r--app/controllers/referentials_controller.rb2
1 files changed, 1 insertions, 1 deletions
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|