Sha256: e71b1711758fa297bcb41aafc4eea9c9708a1c335aa58769a37ec132204bc5bc

Contents?: true

Size: 897 Bytes

Versions: 1

Compression:

Stored size: 897 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  @@visualizations = {
    event_elections_2016: "Elections 2016 with Event Handler",
    elections_2016: "Elections 2016",
    london_population: "London Population",
    london_population_area: "London Population - Area Chart",
    olympics_2016_medals: "Olympics 2016 Medals",
    iphones: "iPhones",
    polish_pms: "Polish Prime Ministers",
    man_vs_horse: "Man versus Horse Marathon",
    paradox: "Paradox Interactive Games",
    weather_in_london: "Weather in London",
    harry_potter: "Harry Potter Books",
    mtg_modern_creatures: "MTG: Creatures in Modern",
    mtg_modern_colors: "MTG: Spell Cards in Modern",
    star_trek_voyager: "Star Trek: Voyager",
  }

  def index
    @visualizations = @@visualizations
  end

  def visualization
    @visualizations = @@visualizations
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyper-d3-1.0.0.lap28 spec/test_app/app/controllers/application_controller.rb