Skip to content

Commit 80ac302

Browse files
author
Danny Smith
committed
Changed Files
1 parent bc98567 commit 80ac302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/inspection_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class InspectionController < ApplicationController
22

33
def create
4-
#looks at the params hash and creates new inspections for each cadet record.
4+
#looks at the params hash and creates new inspections for each cadet record. Cool.
55
ok = true
66
params[:cadet_score].each do |id,score|
77
insp = Cadet.find(id).inspections.new(:date => Date.today, :score => score)

0 commit comments

Comments
 (0)