Actions
Bug #37763
closedRegistration without environments or environment_id param causes NoMethodError
Description
If you register without passing environments or environment_id params, it chooses the default environment but we forgot to put that in an array.
So it causes
NoMethodError: undefined method `each' for #<Katello::ContentViewEnvironment id: 2, name: "Library", label: "Library", cp_id: ...
Actions