Sha256: 9e1602e5332513a0366c20f9beb100229cbe11fb9c5b92848869c413727c4bd8

Contents?: true

Size: 308 Bytes

Versions: 8

Compression:

Stored size: 308 Bytes

Contents

require_dependency "tech_radar/application_controller"

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tech_radar-0.6.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.5.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.4.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.3.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.2.1 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.2.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.1.0 app/controllers/tech_radar/quadrants_controller.rb
tech_radar-0.0.1 app/controllers/tech_radar/quadrants_controller.rb