def destroy
      @parameter = Parameter.find(params[:id])
      @parameter.destroy
  
      respond_to do |format|
        format.html { redirect_to parameters_url }
        format.json { head :no_content }
      end
    end
def destroy
      @parameter = Parameter.find(params[:id])
      @parameter.destroy
  
      respond_to do |format|
        format.html { redirect_to parameters_url }
        format.json { head :no_content }
      end
    end
DELETE /parameters/1
 DELETE /parameters/1.json