comment_paragraph_plugin_public_controller.rb 247 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 class CommentParagraphPluginPublicController < PublicController append_view_path File.join(File.dirname(__FILE__) + '/../views') def comment_paragraph render :json => { :paragraph_id => Comment.find(params[:id]).paragraph_id } end end