* Fix lint * Add pundit-matchers gem * Strengthen ArticlePolicy & create spec * Change ApplicationPolicy to a closed system * Globally handle pundit's NotAuthorizedError * Fix lint * Adjust /new's authorization |
||
|---|---|---|
| .. | ||
| articles_controller_spec.rb | ||
| users_controller_spec.rb | ||