Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-03-02 18:02:48 +01:00
189 changed files with 2586 additions and 1444 deletions

View File

@@ -1,7 +1,11 @@
# frozen_string_literal: true
class Disputes::StrikesController < Disputes::BaseController
before_action :set_strike
before_action :set_strike, only: [:show]
def index
@strikes = current_account.strikes.latest
end
def show
authorize @strike, :show?