7 lines
145 B
Ruby
7 lines
145 B
Ruby
# frozen_string_literal: true
|
|
|
|
class MergeRequestPolicy < IssuablePolicy
|
|
rule { locked }.policy do
|
|
prevent :reopen_merge_request
|
|
end
|
|
end
|