Class: TechRadar::RingsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- TechRadar::RingsController
- Defined in:
- app/controllers/tech_radar/rings_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
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 |