Class: TechRadar::QuadrantsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/tech_radar/quadrants_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



5
6
7
8
9
# File 'app/controllers/tech_radar/quadrants_controller.rb', line 5

def show
  tech_radar = TechRadar::Radar.new
  @all_quadrant_names = tech_radar.quadrants.map(&:name)
  @quadrant = tech_radar.quadrant(params[:id])
end