Class: Like::LikesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Like::LikesController
- Defined in:
- app/controllers/like/likes_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
4 5 6 7 |
# File 'app/controllers/like/likes_controller.rb', line 4 def create interaction.create interaction.post_action end |
#destroy ⇒ Object
9 10 11 12 |
# File 'app/controllers/like/likes_controller.rb', line 9 def destroy interaction.destroy interaction.post_action end |