Merge remote-tracking branch 'origin/master' into merge-upstream

Conflicts:
	app/javascript/styles/mastodon/components.scss
	app/javascript/styles/mastodon/modal.scss
This commit is contained in:
David Yip
2018-01-19 15:22:10 -06:00
90 changed files with 375 additions and 496 deletions

View File

@ -14,8 +14,8 @@
class Mute < ApplicationRecord
include Paginable
belongs_to :account, required: true
belongs_to :target_account, class_name: 'Account', required: true
belongs_to :account
belongs_to :target_account, class_name: 'Account'
validates :account_id, uniqueness: { scope: :target_account_id }