Sha256: 9ee167375253fa00f41a86f8c26596dcf9106aebd5b20c14e72e4e2dd6157678

Contents?: true

Size: 492 Bytes

Versions: 13

Compression:

Stored size: 492 Bytes

Contents

class Fe::SubmitPagesController < ApplicationController

  before_action :setup
  skip_before_action :get_answer_sheet, raise: false

  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

13 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 app/controllers/fe/submit_pages_controller.rb
fe-2.1.4 app/controllers/fe/submit_pages_controller.rb
fe-2.1.3 app/controllers/fe/submit_pages_controller.rb
fe-2.1.2 app/controllers/fe/submit_pages_controller.rb
fe-2.1.1 app/controllers/fe/submit_pages_controller.rb
fe-2.0.8 app/controllers/fe/submit_pages_controller.rb
fe-2.0.6 app/controllers/fe/submit_pages_controller.rb
fe-2.0.5 app/controllers/fe/submit_pages_controller.rb
fe-2.0.4 app/controllers/fe/submit_pages_controller.rb
fe-2.0.3 app/controllers/fe/submit_pages_controller.rb
fe-2.0.2 app/controllers/fe/submit_pages_controller.rb
fe-2.0.1 app/controllers/fe/submit_pages_controller.rb
fe-2.0.0 app/controllers/fe/submit_pages_controller.rb