Closed hsong-rh closed 4 years ago
This PR allows authorize to accept symbol as its second parameter, like authorized(Portfolio, :update?), otherwise following delete_suffix will fail and raise other exceptions.
authorize
authorized(Portfolio, :update?)
delete_suffix
This PR allows
authorize
to accept symbol as its second parameter, likeauthorized(Portfolio, :update?)
, otherwise followingdelete_suffix
will fail and raise other exceptions.