lib/wicked/wizard.rb in wicked-with-previous-support-0.1 vs lib/wicked/wizard.rb in wicked-with-previous-support-0.2
- old
+ new
@@ -7,11 +7,11 @@
include Wicked::Controller::Concerns::RenderRedirect
include Wicked::Controller::Concerns::Steps
included do
# Give our Views helper methods!
- helper_method :wizard_path, :next_wizard_path
+ helper_method :wizard_path, :next_wizard_path, :previous_wizard_path
# Set @step and @next_step variables
before_filter :setup_wizard
end
private
@@ -19,6 +19,6 @@
@step = params[:id].try(:to_sym) || steps.first
@next_step = next_step(@step)
end
public
end
-end
\ No newline at end of file
+end