Class: MetadataPresenter::ChangeAnswerController

Inherits:
EngineController show all
Defined in:
app/controllers/metadata_presenter/change_answer_controller.rb

Instance Method Summary collapse

Methods inherited from EngineController

#allow_analytics?, #analytics_cookie_name, #analytics_tags_present?, #answered?, #authorised_session!, #back_link, #external_or_relative_link, #get_saved_progress, #increment_record_counter, #invalidate_record, #load_autocomplete_items, #load_page_content, #maintenance_mode?, #reload_user_data, #require_basic_auth, #save_form_progress, #session_authorised?, #show_cookie_confirmation?, #show_cookie_request?

Instance Method Details

#createObject



3
4
5
6
# File 'app/controllers/metadata_presenter/change_answer_controller.rb', line 3

def create
  session[:return_to_check_your_answer] = true
  redirect_to_page params[:url]
end