Class: RailsVitals::AssociationsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/rails_vitals/associations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
# File 'app/controllers/rails_vitals/associations_controller.rb', line 3

def index
  @nodes, @canvas_height = Analyzers::AssociationMapper.build(RailsVitals.store)
  @node_map = @nodes.index_by(&:name)
end