Use resourceful route for message reply

This commit is contained in:
Anton Khorev 2025-01-02 11:41:43 +03:00
parent 7286ad027c
commit 0016c6f4b1
9 changed files with 128 additions and 107 deletions

View file

@ -42,7 +42,7 @@ class Ability
can :update, DiaryEntry, :user => user
can [:create], DiaryComment
can [:make_friend, :remove_friend], Friendship
can [:read, :create, :reply, :inbox, :outbox, :muted, :mark, :unmute, :destroy], Message
can [:read, :create, :mark, :unmute, :destroy], Message
can [:close, :reopen], Note
can [:read, :update], :preference
can :update, :profile