wicked-with-previous-support 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/wicked/wizard.rb +2 -2
- data/wicked.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Use wicked to make your Rails controllers into step-by-step wizards. To see Wicked in action check out the example [Rails app](https://github.com/schneems/wicked_example) or [watch the screencast](http://schneems.com/post/18437886598/wizard-ify-your-rails-controllers-with-wicked).
|
4
4
|
|
5
|
-
# Why This fork is
|
5
|
+
# Why This fork is there ?
|
6
6
|
|
7
7
|
This is a fork from the original wicked : https://github.com/schneems/wicked, and it's purpose is adding the ability to browse backwards in the wizard, and in this fork I'm introducing the following methods:
|
8
8
|
|
data/lib/wicked/wizard.rb
CHANGED
@@ -9,7 +9,7 @@ module Wicked
|
|
9
9
|
|
10
10
|
included do
|
11
11
|
# Give our Views helper methods!
|
12
|
-
helper_method :wizard_path, :next_wizard_path
|
12
|
+
helper_method :wizard_path, :next_wizard_path, :previous_wizard_path
|
13
13
|
# Set @step and @next_step variables
|
14
14
|
before_filter :setup_wizard
|
15
15
|
end
|
@@ -21,4 +21,4 @@ module Wicked
|
|
21
21
|
end
|
22
22
|
public
|
23
23
|
end
|
24
|
-
end
|
24
|
+
end
|
data/wicked.gemspec
CHANGED