You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
304 B

  1. # frozen_string_literal: true
  2. class Api::ActivityPub::NotesController < Api::BaseController
  3. include Authorization
  4. before_action :set_status
  5. respond_to :activitystreams2
  6. def show
  7. authorize @status, :show?
  8. end
  9. private
  10. def set_status
  11. @status = Status.find(params[:id])
  12. end
  13. end