Refactor the account edit/update pages out into a separate accounts controller
This commit is contained in:
parent
6ccd579616
commit
a8e8ba1a64
18 changed files with 293 additions and 260 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue