Skip to content

Commit

Permalink
Update app/policies/daily_nerd_message_policy.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Langenbeck <max@nerdgeschoss.de>
  • Loading branch information
oma-s and Maxi211 authored Apr 10, 2024
1 parent de7bb6b commit fd8e527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/policies/daily_nerd_message_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def update?
end

def users_own_message?
user == record.sprint_feedback.user
user.id == record.sprint_feedback.user_id
end
end

0 comments on commit fd8e527

Please sign in to comment.