Sha256: 98e3770b918d71564b86b66a938c0f12043ac3603235812cc00e51e40f836f60
Contents?: true
Size: 353 Bytes
Versions: 7
Compression:
Stored size: 353 Bytes
Contents
class SpecCategoryFrontend < Zen::Controller::FrontendController map '/spec-category-frontend' def index categories = get_categories('Spec group', :limit => 1, :paginate => true) html = '' categories.each do |category| html += "<p>#{category.name}</p>" end html += categories.navigation return html end end
Version data entries
7 entries across 7 versions & 1 rubygems