gab-social/app/models/group_pinned_status.rb
mgabdev d030783089 Added GroupPinnedStatuses
• Added:
- GroupPinnedStatuses
- controllers for timeline, creation, deletion
- redux actions, reducers for creation, deletion
- timeline fetching in timelines action
- options to pin, unpin in status options popover for group admin
2020-09-10 15:07:01 -05:00

17 lines
364 B
Ruby

# frozen_string_literal: true
# == Schema Information
#
# Table name: group_pinned_statuses
#
# id :bigint(8) not null, primary key
# status_id :bigint(8) not null
# group_id :bigint(8) not null
#
class GroupPinnedStatus < ApplicationRecord
belongs_to :group
belongs_to :status
validates_with GroupPinnedStatusValidator
end