aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
authorZog2018-03-29 14:38:45 +0200
committerZog2018-03-29 14:38:45 +0200
commitef01bea2bef74358e3df3e74cc613d664a9a554d (patch)
tree19b375858b37645754198c048841458621d23737 /app/controllers/referentials_controller.rb
parent1019debe93d776f0d38ae69099e6492a7dd4a87c (diff)
downloadchouette-core-ef01bea2bef74358e3df3e74cc613d664a9a554d.tar.bz2
Refs #4658; Remove `current_functional_scope`
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 6e3694547..fe661651e 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -143,7 +143,7 @@ class ReferentialsController < ChouetteController
def build_referential
if params[:from]
source_referential = Referential.find(params[:from])
- @referential = Referential.new_from(source_referential, current_functional_scope)
+ @referential = Referential.new_from(source_referential, current_organisation)
end
@referential.data_format = current_organisation.data_format