Sha256: 21b3e36e8b060c3a0555ebf5ac3045e71e0ca20d4e710e66727ea1c15648da58
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
module Federails module Server class FollowingsController < ServerController before_action :set_following, only: [:show] # GET /federation/actors/1/followings/1.json def show; end private # Use callbacks to share common setup or constraints between actions. def set_following @following = Following.find_by!(actor_id: params[:actor_id], id: params[:id]) authorize @following, policy_class: Federails::Server::FollowingPolicy end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
federails-0.1.0 | app/controllers/federails/server/followings_controller.rb |