Sha256: baf2677917e90396cc9f2a1ea6166205d944eccfe01d9e60ec161e9dc9afda43
Contents?: true
Size: 313 Bytes
Versions: 32
Compression:
Stored size: 313 Bytes
Contents
class Blog::AuthorsController < Blog::MainController def show data = BlogpostParser.fetch_all.select { |b| b['published'] && !b['outdated'] } attributes = AuthorParser.fetch_author(params[:name]) || {} @author = Blog::Author.new(attributes).build_all_blogposts_from_author(data) end end
Version data entries
32 entries across 32 versions & 1 rubygems