Class: CommentsController

Inherits:
ApplicationController
  • Object
show all
Includes:
SocialStream::Controllers::Objects
Defined in:
app/controllers/comments_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
7
# File 'app/controllers/comments_controller.rb', line 4

def show    
  parent = resource.post_activity.parent
  redirect_to polymorphic_path(parent.direct_object,:anchor => dom_id(parent))
end