Class: Effective::CpdAuditsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Effective::CpdAuditsController
- Includes:
- WizardController
- Defined in:
- app/controllers/effective/cpd_audits_controller.rb
Instance Method Summary collapse
-
#render_step(the_step, options = {}, params = {}) ⇒ Object
Reuse the same view for all cpd_audit_level_section steps github.com/zombocom/wicked/blob/v1.3.4/lib/wicked/controller/concerns/render_redirect.rb#L32.
Instance Method Details
#render_step(the_step, options = {}, params = {}) ⇒ Object
Reuse the same view for all cpd_audit_level_section steps github.com/zombocom/wicked/blob/v1.3.4/lib/wicked/controller/concerns/render_redirect.rb#L32
15 16 17 18 |
# File 'app/controllers/effective/cpd_audits_controller.rb', line 15 def render_step(the_step, = {}, params = {}) return super unless resource.dynamic_wizard_steps.keys.include?(the_step) render('cpd_audit_level_section', ) end |