Move diary comments index action to comments controller

This commit is contained in:
Anton Khorev 2024-06-10 16:09:07 +03:00
parent 63a323dbe3
commit 6624beff11
9 changed files with 120 additions and 79 deletions

View file

@ -18,7 +18,8 @@ class Ability
can [:index, :feed, :show], Changeset
can :index, ChangesetComment
can [:confirm, :confirm_resend, :confirm_email], :confirmation
can [:index, :rss, :show, :comments], DiaryEntry
can [:index, :rss, :show], DiaryEntry
can :index, DiaryComment
can [:index], Note
can [:new, :create, :edit, :update], :password
can [:index, :show], Redaction