app/helpers/application_helper.rb
# Render a back link pointing to the user's previous step
Render a back link pointing to the user's previous step
Render a back link pointing to the user ' s previous step
def step_header(path: nil)
    render partial: 'layouts/step_header', locals: {
      path: path || controller.previous_step_path
    }
  end
def step_header ( path : nil ) render partial : 'layouts/step_header' , locals : { path : path || controller . previous_step_path } end
Render a back link pointing to the user's previous step
Render a back link pointing to the user ' s previous step
path