Add a explanatory comment to GeoNode.all.map(&:present)

parent 3eca6c3a
......@@ -3,6 +3,7 @@ class Admin::GeoNodesController < Admin::ApplicationController
before_action :load_node, only: [:destroy, :repair, :toggle]
def index
# Ensure all nodes are using their Presenter
@nodes = GeoNode.all.map(&:present)
@node = GeoNode.new
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment