debian-mirror-gitlab/app/controllers/concerns/params_backward_compatibility.rb
2018-12-05 23:21:45 +05:30

9 lines
169 B
Ruby

# frozen_string_literal: true
module ParamsBackwardCompatibility
private
def set_non_archived_param
params[:non_archived] = params[:archived].blank?
end
end