Sha256: 0f7da768ab3a65e80dde9617e02656d593be64d8bf283a1a7f2ceb391a1bb798

Contents?: true

Size: 341 Bytes

Versions: 11

Compression:

Stored size: 341 Bytes

Contents

module Pageflow
  module ProgressNavigationBar
    class WidgetType < Pageflow::WidgetType
      def roles
        ['navigation']
      end

      def render(template, entry, locals)
        template.render(File.join('pageflow/progress_navigation_bar/widget'),
                        locals.merge(entry: entry))
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pageflow-progress-navigation-bar-1.9.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.8.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.7.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.6.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.5.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.4.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.3.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.2.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.1.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-1.0.0 lib/pageflow/progress_navigation_bar/widget_type.rb
pageflow-progress-navigation-bar-0.5.0 lib/pageflow/progress_navigation_bar/widget_type.rb