Class: TechRadar::TechnologiesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
# File 'app/controllers/tech_radar/technologies_controller.rb', line 5

def index
  @technologies = TechRadar::Radar.new.technologies
end

#showObject



9
10
11
# File 'app/controllers/tech_radar/technologies_controller.rb', line 9

def show
  @technology = TechRadar::Radar.new.technology(params[:id])
end