Sha256: 97532979d3cb9d40495525003cc590fb8af89ff0eb6fe59a73514f8bdb47dc53
Contents?: true
Size: 326 Bytes
Versions: 32
Compression:
Stored size: 326 Bytes
Contents
class Blog::CategoriesController < Blog::MainController def show data = BlogpostParser.fetch_all.select { |b| b['published'] && !b['outdated'] } attributes = CategoryParser.fetch_category(params[:slug]) @category_with_all_blogposts = Blog::Category.new(attributes).build_n_blogposts_by_category(data) end end
Version data entries
32 entries across 32 versions & 1 rubygems