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

Version Path
station-0.5.2 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.5.1 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.5.0 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.9 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.8 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.7 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.6 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.5 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.4 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.3 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.2 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.1 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.4.0 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.3.2 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.3.1 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.3.0 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.2.6 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.2.5 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.2.4 lib/nexmo_developer/app/controllers/blog/authors_controller.rb
station-0.2.3 lib/nexmo_developer/app/controllers/blog/authors_controller.rb