Sha256: 32426d2290513ba144fe009940ec386a682888edb19a8bff1b0bcd2b026b3f44

Contents?: true

Size: 288 Bytes

Versions: 14

Compression:

Stored size: 288 Bytes

Contents

class Blog::CategoriesController < Blog::MainController
  def show
    data = BlogpostParser.fetch_all_published
    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

14 entries across 14 versions & 1 rubygems

Version Path
station-0.5.16 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.15 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.14 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.13 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.12 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.11 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.10 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.9 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.8 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.7 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.6 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.5 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.4 lib/nexmo_developer/app/controllers/blog/categories_controller.rb
station-0.5.3 lib/nexmo_developer/app/controllers/blog/categories_controller.rb