Refactor the account edit/update pages out into a separate accounts controller

This commit is contained in:
Andy Allan 2021-12-02 11:51:04 +00:00
parent 6ccd579616
commit a8e8ba1a64
18 changed files with 293 additions and 260 deletions

View file

@ -42,6 +42,7 @@ class Ability
can [:index, :new, :create, :show, :edit, :update, :destroy], :oauth2_application
can [:index, :destroy], :oauth2_authorized_application
can [:new, :show, :create, :destroy], :oauth2_authorization
can [:edit, :update], :account
can [:show], :dashboard
can [:new, :create, :edit, :update, :comment, :subscribe, :unsubscribe], DiaryEntry
can [:make_friend, :remove_friend], Friendship