retrospring/app/controllers/settings/blocks_controller.rb
2022-07-05 20:40:19 +02:00

10 lines
275 B
Ruby

# frozen_string_literal: true
class Settings::BlocksController < ApplicationController
before_action :authenticate_user!
def index
@blocks = Relationships::Block.where(source: current_user)
@anonymous_blocks = AnonymousBlock.where(user: current_user)
end
end