Sha256: 87f4700dd0518f4f2b81259dd28f7e1391359ed6d91bb83e90e0ce60abfae3f4

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 Bytes

Contents

class Fe::SubmitPagesController < ApplicationController

  before_filter :setup
  skip_before_filter :get_answer_sheet

  layout nil
  
  def edit
    @next_page = next_custom_page(@application, 'submit_page')
  end
  
  # save any changes on the submit_page (for auto-save, no server-validation)
  def update
    head :ok
  end

  private

  def setup
    @application = @answer_sheet = Fe.answer_sheet_class.constantize.find(params[:application_id]) unless @application
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fe-1.0.0 app/controllers/fe/submit_pages_controller.rb
fe-0.0.4 app/controllers/fe/submit_pages_controller.rb