```ruby
module Manager
  class ProceduresController < Manager::ApplicationController
    def whitelist
      procedure = Procedure.find(params[:id])
      procedure.whitelist!
      redirect_to manager_procedure_path(procedure)
    end
  end
end
```

Add flash when procedure is whitelisted
user
```ruby
module Manager
  class ProceduresController < Manager::ApplicationController
    def whitelist
      procedure = Procedure.find(params[:id])
      procedure.whitelist!
      flash[:notice] = "Procédure whitelistée."
      redirect_to manager_procedure_path(procedure)
    end
  end
end
```
assistant