From dcf8ada83f233f036a5a1076af1c4d60d099248d Mon Sep 17 00:00:00 2001 From: f Date: Mon, 23 Mar 2020 17:50:15 -0300 Subject: [PATCH] no aceptar path en los params --- app/models/metadata_path.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/metadata_path.rb b/app/models/metadata_path.rb index 474ddee..7f38692 100644 --- a/app/models/metadata_path.rb +++ b/app/models/metadata_path.rb @@ -21,6 +21,9 @@ class MetadataPath < MetadataTemplate File.basename(value, ext) end + # No lo aceptamos en los parĂ¡metros + def to_param; end + private def ext