Class: SalmonController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SalmonController
- Defined in:
- app/controllers/salmon_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/salmon_controller.rb', line 6 def index actor = Actor.find_by_slug! params[:slug] SocialStream::ActivityStreams.from_salmon_callback request.body.read, actor # TODO handle errors render text: "Success!" end |