aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-06-19 11:03:34 +0200
committerTeddy Wing2017-06-19 11:03:34 +0200
commita6b84e751068da4cce61aec75690a2d1ea295b13 (patch)
tree1ccfbf2bbdc9065cf75b1017881cf6fecd9feb0b /app/controllers/referentials_controller.rb
parent88f1d1c6c4dd82404c124ec15ab56513289c2210 (diff)
parent9ef3d205aa091d509455b3607d5ecc74431c6196 (diff)
downloadchouette-core-a6b84e751068da4cce61aec75690a2d1ea295b13.tar.bz2
Merge remote-tracking branch 'origin/master' into 3479-refactor-table_builder-helper
Diffstat (limited to 'app/controllers/referentials_controller.rb')
-rw-r--r--app/controllers/referentials_controller.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb
index e95670241..1239d512f 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -76,7 +76,6 @@ class ReferentialsController < BreadcrumbController
alias_method :current_referential, :referential
helper_method :current_referential
-
def resource
@referential ||= current_organisation.find_referential(params[:id])
end
@@ -132,13 +131,7 @@ class ReferentialsController < BreadcrumbController
params.require(:referential).permit(
:id,
:name,
- :slug,
- :prefix,
- :time_zone,
- :upper_corner,
- :lower_corner,
:organisation_id,
- :projection_type,
:data_format,
:archived_at,
:created_from_id,