Sha256: 61988a8a20a298cb9eab77548cb91c2393caa54c66a9a14a2e3e4954f16616bf
Contents?: true
Size: 336 Bytes
Versions: 7
Compression:
Stored size: 336 Bytes
Contents
class SpecCommentFrontend < Zen::Controller::FrontendController map '/spec-comment-frontend' def index comments = get_comments('spec', :limit => 1, :paginate => true) html = '' comments.each do |comment| html += "<p>#{comment.comment}</p>" end html += comments.navigation return html end end
Version data entries
7 entries across 7 versions & 1 rubygems