fix bad perms

This commit is contained in:
drusepth 2022-12-06 12:45:52 -08:00
parent b3808b28b9
commit 25aa2c0701

View File

@ -2,7 +2,7 @@ class PageCollectionSubmissionsController < ApplicationController
before_action :set_page_collection, only: [:index]
before_action :set_page_collection_submission, only: [:show, :edit, :update, :destroy, :approve, :pass]
before_action :require_collection_ownership, only: [:index, :edit, :update, :destroy, :pass, :approve]
before_action :require_collection_ownership, only: [:index]
# GET /page_collection_submissions
def index