Sha256: ac7827124734e4c14cf63f2a9bcbf00d46b6f274a3e49b70be77c43a16ce7e12
Contents?: true
Size: 333 Bytes
Versions: 15
Compression:
Stored size: 333 Bytes
Contents
class ResultsController < ApplicationController helper 'surveyor' layout 'results' def index @surveys = Survey.all end def show @survey = Survey.find_by_access_code(params[:survey_code]) @response_sets = @survey.response_sets @questions = @survey.sections_with_questions.map(&:questions).flatten end end
Version data entries
15 entries across 15 versions & 1 rubygems