Sha256: d9d43d71aa99f2259ee3e6d1a75b2c1a15dacaf81e3d052005f97f76e2fda6af
Contents?: true
Size: 306 Bytes
Versions: 5
Compression:
Stored size: 306 Bytes
Contents
module Sonic class ResultsController < ApplicationController def index json = File.read('public/sonic/results.json') @results = JSON.parse(json) respond_to do |format| format.html # index.html.erb format.json { render :json => json } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems