Sha256: eebceb3dcff31743946728d6bbc48e50821115aa1e7e53eeb64cdea4502e6983
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 Bytes
Contents
class Brightcontent::CommentsController < Brightcontent::BaseController def blog Blog.find(params[:blog_id]) end def base_collection blog.comments end def resource_path(res = resource) [brightcontent, blog, res] end def resource_index_path [brightcontent, blog, resource_class] end def resource_edit_path(res = resource) [brightcontent, :edit, blog, res] end end
Version data entries
10 entries across 10 versions & 1 rubygems