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-2.2.2 base/app/controllers/comments_controller.rb
social_stream-base-2.2.2 app/controllers/comments_controller.rb
social_stream-2.2.1 base/app/controllers/comments_controller.rb
social_stream-base-2.2.1 app/controllers/comments_controller.rb
social_stream-2.2.0 base/app/controllers/comments_controller.rb
social_stream-base-2.2.0 app/controllers/comments_controller.rb
social_stream-2.1.1 base/app/controllers/comments_controller.rb
social_stream-1.1.12 base/app/controllers/comments_controller.rb
social_stream-base-1.1.11 app/controllers/comments_controller.rb
social_stream-2.1.0 base/app/controllers/comments_controller.rb
social_stream-base-2.1.0 app/controllers/comments_controller.rb
social_stream-2.0.4 base/app/controllers/comments_controller.rb
social_stream-base-2.0.4 app/controllers/comments_controller.rb
social_stream-2.0.3 base/app/controllers/comments_controller.rb
social_stream-base-2.0.3 app/controllers/comments_controller.rb
social_stream-1.1.11 base/app/controllers/comments_controller.rb
social_stream-base-1.1.10 app/controllers/comments_controller.rb
social_stream-1.1.10 base/app/controllers/comments_controller.rb
social_stream-base-1.1.9 app/controllers/comments_controller.rb
social_stream-1.1.9 base/app/controllers/comments_controller.rb