Revision 6ba027c2
Added by Peter Koprda over 1 year ago
app/registries/pagelets/manager.rb | ||
---|---|---|
end
|
||
|
||
def with_profile(id, label, opts, &block)
|
||
profile = Profile.new(id, label, self, opts)
|
||
profile = Profile.new(id.to_s, label, self, opts)
|
||
profile.instance_exec(&block)
|
||
profile.pagelets.each do |pagelet|
|
||
add_pagelet(*pagelet)
|
Also available in: Unified diff
Fixes #35287 - Create column selector on host index page (#9323)
Co-authored-by: pkoprda <peto.koprda@gmail.com>
Co-authored-by: Oleh Fedorenko <ofedoren@redhat.com>