[openstreetmap/openstreetmap-website] Microcosms microcosms (PR #3683)
Brian DeRocher
notifications at github.com
Sun Sep 18 21:16:05 UTC 2022
@openbrian commented on this pull request.
> + def new
+ @title = t "microcosms.new.title"
+ @microcosm = Microcosm.new
+ end
+
+ def create
+ @microcosm = Microcosm.new(microcosm_params)
+ @microcosm.organizer = current_user
+ if @microcosm.save
+ redirect_to @microcosm, :notice => t(".success")
+ else
+ render "new"
+ end
+ end
+
+ def recent_changesets
done
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3683#discussion_r973776246
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3683/review/1111588144 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220918/f1cc5712/attachment.htm>
More information about the rails-dev
mailing list