Sha256: dfe13475af851eafa930babb1f174c9c18cd9828201bc714e707de1b5491c6c7

Contents?: true

Size: 425 Bytes

Versions: 6

Compression:

Stored size: 425 Bytes

Contents

module Gaku
  class ExamPortionScoresController < GakuController
    inherit_resources

    respond_to :js, :json, :html

    def update
      @exam_portion_score = ExamPortionScore.find(params[:id])
      if @exam_portion_score.update_attributes(params[:exam_portion_score])
        respond_to do |format|
          format.js { render nothing: true }
        end
      else
        #render :edit
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/controllers/gaku/exam_portion_scores_controller.rb
gaku-0.0.3 core/app/controllers/gaku/exam_portion_scores_controller.rb
gaku-0.0.2 core/app/controllers/gaku/exam_portion_scores_controller.rb
gaku_core-0.0.2 app/controllers/gaku/exam_portion_scores_controller.rb
gaku-0.0.1 core/app/controllers/gaku/exam_portion_scores_controller.rb
gaku_core-0.0.1 app/controllers/gaku/exam_portion_scores_controller.rb