redirectr 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/redirectr.rb +2 -2
- metadata +3 -3
data/lib/redirectr.rb
CHANGED
|
@@ -124,8 +124,8 @@ module Redirectr
|
|
|
124
124
|
# Create a hidden input field containing the referrer or current path.
|
|
125
125
|
# Handy for use in forms that are called with a referrer param which
|
|
126
126
|
# has to be passed on and respected by the form processing action.
|
|
127
|
-
def hidden_referrer_input_tag
|
|
128
|
-
hidden_field_tag :referrer, referrer_or_current_path
|
|
127
|
+
def hidden_referrer_input_tag(options = {})
|
|
128
|
+
hidden_field_tag :referrer, referrer_or_current_path, options
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
end # module Helpers
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redirectr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Willem van Kerkhof
|