diff --git a/app/models/parameter.rb b/app/models/parameter.rb index 434c17b30c33..6e48974240e4 100644 --- a/app/models/parameter.rb +++ b/app/models/parameter.rb @@ -2,7 +2,6 @@ class Parameter < ApplicationRecord extend FriendlyId friendly_id :name include Parameterizable::ByIdName - include HiddenValue include KeyType include KeyValueValidation diff --git a/app/views/api/v2/parameters/base.json.rabl b/app/views/api/v2/parameters/base.json.rabl index d24fb972359e..eb37c65d018a 100644 --- a/app/views/api/v2/parameters/base.json.rabl +++ b/app/views/api/v2/parameters/base.json.rabl @@ -1,7 +1,3 @@ object @parameter -attributes :id, :name, :parameter_type, :associated_type, :hidden_value? - -node do - partial("api/v2/common/show_hidden", :locals => { :value => :value }, :object => @object) -end +attributes :id, :name, :value, :parameter_type, :associated_type, :hidden_value?