Sha256: ca542ae2346048601a856df7391a56e3b0c4e751b445752d2a61da7f38224214
Contents?: true
Size: 295 Bytes
Versions: 52
Compression:
Stored size: 295 Bytes
Contents
class CommentsController < ApplicationController include SocialStream::Controllers::Objects def show parent = resource.post_activity.parent redirect_to polymorphic_path(parent.direct_object,:anchor => dom_id(parent)) end private def allowed_params [:text] end end
Version data entries
52 entries across 52 versions & 2 rubygems