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:
parent
6cc76cdf05
commit
35240e2219
3 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue