foreman/app/services/menu/divider.rb @ c6e02bd3
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
|