1 2 3 4 5 6 7 8 9
# frozen_string_literal: true module My class AuditsController < ApplicationController def index @audits = current_user.own_and_associated_audits end end end