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

Version Path
social_stream-base-1.1.8 app/controllers/comments_controller.rb
social_stream-1.1.8 base/app/controllers/comments_controller.rb
social_stream-base-1.1.7 app/controllers/comments_controller.rb
social_stream-2.0.2 base/app/controllers/comments_controller.rb
social_stream-base-2.0.2 app/controllers/comments_controller.rb
social_stream-2.0.1 base/app/controllers/comments_controller.rb
social_stream-base-2.0.1 app/controllers/comments_controller.rb
social_stream-2.0.0 base/app/controllers/comments_controller.rb
social_stream-base-2.0.0 app/controllers/comments_controller.rb
social_stream-2.0.0.beta3 base/app/controllers/comments_controller.rb
social_stream-base-2.0.0.beta3 app/controllers/comments_controller.rb
social_stream-2.0.0.beta2 base/app/controllers/comments_controller.rb
social_stream-base-2.0.0.beta2 app/controllers/comments_controller.rb
social_stream-2.0.0.beta1 base/app/controllers/comments_controller.rb
social_stream-base-2.0.0.beta1 app/controllers/comments_controller.rb
social_stream-1.1.7 base/app/controllers/comments_controller.rb
social_stream-base-1.1.6 app/controllers/comments_controller.rb
social_stream-1.1.6 base/app/controllers/comments_controller.rb
social_stream-base-1.1.5 app/controllers/comments_controller.rb
social_stream-1.1.5 base/app/controllers/comments_controller.rb