Class: Cms::FormsController
- Inherits:
-
ContentBlockController
- Object
- ApplicationController
- ApplicationController
- BaseController
- ContentBlockController
- Cms::FormsController
- Defined in:
- app/controllers/cms/forms_controller.rb
Instance Method Summary collapse
Methods inherited from ContentBlockController
#bulk_update, #create, #destroy, #edit, #index, #inline, #new_button_path, #publish, #revert_to, #show, #show_via_slug, #update, #version, #versions
Methods included from ContentRenderingSupport
#handle_access_denied_on_page, #handle_draft_not_found, #handle_not_found_on_page, #handle_server_error_on_page, #show_content_as_page
Methods inherited from BaseController
Methods inherited from ApplicationController
Instance Method Details
#new ⇒ Object
14 15 16 17 18 |
# File 'app/controllers/cms/forms_controller.rb', line 14 def new super @block.confirmation_text = "Thanks for filling out this form." @block.save! end |