Class: TechRadar::RingsController

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

Instance Method Summary collapse

Instance Method Details

#showObject



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

def show
  tech_radar = TechRadar::Radar.new
  @all_ring_names = tech_radar.rings.map(&:name)
  @ring = tech_radar.ring(params[:id])
end