Class: Effective::CpdAuditsController

Inherits:
ApplicationController
  • Object
show all
Includes:
WizardController
Defined in:
app/controllers/effective/cpd_audits_controller.rb

Instance Method Summary collapse

Instance Method Details

#render_step(the_step, options = {}, params = {}) ⇒ Object



15
16
17
18
# File 'app/controllers/effective/cpd_audits_controller.rb', line 15

def render_step(the_step, options = {}, params = {})
  return super unless resource.dynamic_wizard_steps.keys.include?(the_step)
  render('cpd_audit_level_section', options)
end