Class: PostsController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- PostsController
- Defined in:
- app/controllers/posts_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/posts_controller.rb', line 4 def destroy @post_activity = resource.post_activity destroy! end |