varvet / pundit

Minimal authorization through OO design and pure Ruby classes
MIT License
8.29k stars 632 forks source link

Fix concealed `rubocop` warning. #596

Closed guilhermecortes closed 5 years ago

guilhermecortes commented 5 years ago

This PR fixes the warning when running rubocop.

.rubocop.yml:81: `Style/TrivialAccessors` is concealed by line 96

The Style/TrivialAccessors have been defined in two places. Instead, we can have it defined in just one place.

dgmstuart commented 5 years ago

Closing in favour of https://github.com/varvet/pundit/pull/598, which also contains this fix