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

Chris Flipse notifications at github.com
Thu Nov 1 15:45:32 UTC 2018

cflipse commented on this pull request.

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

It does.

there are _some_ additional app directories that are something approaching a standard:  `app/presenters`, `app/forms`, `app/services`  (especially the last one) but it's pretty much open season for organizing things under the top layer of app.  Rails will loop through those directories and add them to autoload at boot time (so, if you add a _new_ `app/foo` class, you'd need to reboot your dev server, but otherwise, classes underneath are subject to Rails' loading magicks)

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/0cd33fca/attachment.html>

More information about the rails-dev mailing list