Welcome to mirror list, hosted at ThFree Co, Russian Federation.

params_backward_compatibility.rb « concerns « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c972d6e31610455652c31654e1deaebe3ebf4d80 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module ParamsBackwardCompatibility
  private

  def set_non_archived_param
    params[:non_archived] = params[:archived].blank?
  end
end