Files
old-ribica/back-office/app/constraints/delete_items_constraint.rb

6 lines
113 B
Ruby
Raw Normal View History

class DeleteItemsConstraint
def self.matches?(request)
request.params[:commit] == 'Delete Items'
end
end