Revision 9d43fc71
Added by Michael Moll almost 6 years ago
app/controllers/concerns/foreman/controller/taxonomy_multiple.rb | ||
---|---|---|
|
||
def update_multiple_taxonomies(type)
|
||
# simple validations
|
||
if params[type].nil? || (id=params[type][:id]).blank?
|
||
if params[type].nil? || (id = params[type][:id]).blank?
|
||
error "No #{type.to_s.classify} selected!"
|
||
redirect_to(hosts_path)
|
||
return
|
Also available in: Unified diff
Fixes #19789 - fix Layout/SpaceAroundOperators cop