Sha256: d1ee7142654e75a81ec7e40356d50ec93016d936f5bd0d817c0298ad642e91e6

Contents?: true

Size: 351 Bytes

Versions: 6

Compression:

Stored size: 351 Bytes

Contents

module Workarea
  module Storefront
    class BlogCommentsController < Storefront::ApplicationController
      def index
        @entry = Storefront::BlogEntryViewModel.new(
          Content::BlogEntry.find_by(slug: params[:blog_entry_id]),
          view_model_options
        )

        @comment = @entry.comments.build
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-blog-3.5.2 app/controllers/workarea/storefront/blog_comments_controller.rb
workarea-blog-3.5.1 app/controllers/workarea/storefront/blog_comments_controller.rb
workarea-blog-3.5.0 app/controllers/workarea/storefront/blog_comments_controller.rb
workarea-blog-3.4.9 app/controllers/workarea/storefront/blog_comments_controller.rb
workarea-blog-3.4.8 app/controllers/workarea/storefront/blog_comments_controller.rb
workarea-blog-3.4.7 app/controllers/workarea/storefront/blog_comments_controller.rb