Method: FormJourney::Controller#next_step

Defined in:
lib/form_journey/controller.rb

#next_stepObject



69
70
71
# File 'lib/form_journey/controller.rb', line 69

def next_step
  steps[current_step_index + 1] || steps.last
end