smerf_forms_controller.rb

Path: app/controllers/smerf_forms_controller.rb
Last Update: Sat Jan 12 15:57:19 +1100 2008

This controller contains methods that displays the smerf form, allows the user to answer or edit responses on the form. The controller has been developed using REST and responds to the following requests:

  • GET /smerf_forms/smerf_form_file_name - displays specified smerf form
  • POST /smerf_forms - creates a new record to save responses
  • PUT /smerf_form/1 - updates existing record with responses

[Validate]