mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 07:06:03 +01:00
11 lines
275 B
Ruby
11 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
|