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