1 2 3 4 5
# frozen_string_literal: true class TimelogPolicy < BasePolicy delegate { @subject.issuable } end