Skip to content

Commit

Permalink
Do not use accessor when reader will do (#1742)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert-Anthony Lee-Faison <[email protected]>
  • Loading branch information
carolyncole and leefaisonr authored Apr 5, 2024
1 parent 8ed3b97 commit ff0f39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/work_state_transition_notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Connect with the curators of a work when an activity occurs
#
class WorkStateTransitionNotification
attr_accessor :group_administrators, :depositor, :to_state, :from_state, :group,
attr_reader :group_administrators, :depositor, :to_state, :from_state, :group,
:work_url, :notification, :users, :id, :current_user_id, :work_title

def initialize(work, current_user_id)
Expand Down

0 comments on commit ff0f39c

Please sign in to comment.