foreman/app/services/menu/divider.rb @ 6b4b489f
module Menu
|
|
class Divider < Node
|
|
def initialize(name, options = {})
|
|
@caption = options[:caption]
|
|
@parent = options.fetch(:parent, nil)
|
|
super name
|
|
end
|
|
|
|
def authorized?
|
|
true
|
|
end
|
|
end
|
|
end
|