[openstreetmap/openstreetmap-website] Microcosms microcosms (PR #3683)
Brian DeRocher
notifications at github.com
Sat Sep 17 20:03:24 UTC 2022
@openbrian commented on this pull request.
> @@ -0,0 +1,94 @@
+class MicrocosmsController < ApplicationController
+ layout "site"
+ before_action :authorize_web
+
+ before_action :set_microcosm, :only => [:edit, :show, :update]
+
+ helper_method :recent_changesets
+
+ load_and_authorize_resource :except => [:create, :new]
+ authorize_resource
+
+ def index
+ # TODO: OMG is the math right here?
done
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3683#discussion_r973622998
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3683/review/1111466396 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220917/214ead44/attachment.htm>
More information about the rails-dev
mailing list