Class: Pageflow::ProgressNavigationBar::WidgetType
- Inherits:
-
WidgetType
- Object
- WidgetType
- Pageflow::ProgressNavigationBar::WidgetType
show all
- Defined in:
- lib/pageflow/progress_navigation_bar/widget_type.rb
Instance Method Summary
collapse
Instance Method Details
#render(template, entry, locals) ⇒ Object
8
9
10
11
|
# File 'lib/pageflow/progress_navigation_bar/widget_type.rb', line 8
def render(template, entry, locals)
template.render(File.join('pageflow/progress_navigation_bar/widget'),
locals.merge(entry: entry))
end
|
#roles ⇒ Object
4
5
6
|
# File 'lib/pageflow/progress_navigation_bar/widget_type.rb', line 4
def roles
['navigation']
end
|