Sha256: 25bbe4ea6249380306fd99144110bf7996430595f3f657e7b8c0fb35d0ba24e4
Contents?: true
Size: 604 Bytes
Versions: 6
Compression:
Stored size: 604 Bytes
Contents
include Helpers::FilterHelper def init @page_title = options[:title] if object == "_index.html" elsif object.name == :root sections :layout, [:index] else super end end def javascripts super + %w(js/rest_plugin.js) end def menu_lists [ { :type => 'resource', :title => "Resources", :search_title => "List of Resources" }, { :type => 'topic', :title => "Topics", :search_title => "Topic List" }, { :type => 'file', :title => "Files", :search_title => "File List" } ] end def index @readme = options[:readme] @resources = index_objects(@objects) erb(:index) end
Version data entries
6 entries across 6 versions & 1 rubygems