Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/wicked/controller/concerns/steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def future_step?(step_name)
current_step_index < step_index_for(step_name)
end

# will return true if the last step is the step passed in
# will return true if the previous step is the step passed in
def previous_step?(step_name)
return false unless current_and_given_step_exists?(step_name)
(current_step_index - 1) == step_index_for(step_name)
Expand Down