varvet / pundit

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

Change Pundit::Authorization => Pundit #712

Closed aurangzaib-danial closed 2 years ago

aurangzaib-danial commented 2 years ago

include Pundit::Authorization raises uninitialised constant error. Therefore, use include Pundit.

Burgestrand commented 2 years ago

Thank you. The documentation is not incorrect; the latest code just not yet released.

If you're looking for documentation for Pundit you should be using the documentation for the latest released version as linked from the top of the README.