FIX: proper resource class for edit action and destroy action