I have not used Wicked before, but from a cursory glance, it seems that this constant is supposed to be used with url helpers (see their navigation test), or so:
def check_redirect_to_first_last!(step)
redirect_to wizard_path(steps.first) if step.to_s == Wicked::FIRST_STEP
redirect_to wizard_path(steps.last) if step.to_s == Wicked::LAST_STEP
end
If you want to access the first step, I would rather look at Wicked::Controller::Concerns::Steps and its wizard_steps
or steps_list
methods.