[openstreetmap/openstreetmap-website] Move to CanCanCan for authorization (#2023)

Benjamin Reynolds notifications at github.com
Thu Nov 1 15:00:35 UTC 2018

benreyn commented on this pull request.

> @@ -0,0 +1,57 @@
+# frozen_string_literal: true
+class Ability

Just weighing in, FWIW, Ive seen a folder created for these and seen them put in `app/abilities/` before. It would also make [splitting the ability file](https://github.com/CanCanCommunity/cancancan/wiki/Defining-Abilities:-Best-Practices#split-your-abilityrb-file) (which are likely to want to do later) much easier. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181101/b724f60a/attachment.html>

More information about the rails-dev mailing list