Sha256: b6eb86c2d6f51870ca03177c2e8bfafa7bf702ef7445c8bf71bbee7bd0a3584c
Contents?: true
Size: 575 Bytes
Versions: 9
Compression:
Stored size: 575 Bytes
Contents
class Plugins::Sidebars::<%= class_name %>Controller < Sidebars::ComponentPlugin # display_name "<%= class_name.underscore.humanize %>" # Default description "Describe your sidebar here" # Declare your settings. setting :title, display_name # Check the other sidebars for the sort of thing you can do with # setting declarations. Expect more documentation when it's # written. # setting :key, 'some text' # setting :selection, 'foo', :choices => %{foo bar baz} # setting :flag, true, :input_type => :checkbox def content end end
Version data entries
9 entries across 9 versions & 1 rubygems