lint: fix Rubocop warnings

The Rails/UniqueValidationWithoutIndex rule is disabled for now, but
we'll need to re-enable it (and fix the underlying issues) after the
migration to Rails 6.
This commit is contained in:
Pierre de La Morinerie 2020-06-22 14:58:55 +00:00
parent 6cc76cdf05
commit 35240e2219
3 changed files with 5 additions and 7 deletions

View file

@ -92,9 +92,7 @@ class Admin::ProceduresController < AdminController
flash.now.notice = "La démarche a correctement été clonée vers le nouvel administrateur."
respond_to do |format|
format.js
end
respond_to(&:js)
end
end