return render status: :not_found unless resource.present?