diff options
| author | Michel Etienne | 2014-09-30 14:15:34 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-09-30 14:15:34 +0200 |
| commit | d5a5e31dc4bdeebfac77e536cef1338147e0ac02 (patch) | |
| tree | ddf4b9b9091a6c2d2e32fb912f699e43466b405b /app/controllers | |
| parent | 6ef1f1c0e2e3a8b7ca5f7bf1442b701647e66888 (diff) | |
| parent | 943592b64acaa4a0432f0d4c1fa233791495b404 (diff) | |
| download | chouette-core-d5a5e31dc4bdeebfac77e536cef1338147e0ac02.tar.bz2 | |
Merge branch 'sismo' of github.com:afimb/chouette2 into sismo
Diffstat (limited to 'app/controllers')
| -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 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| |
