neorails-view_fu 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/view_fu/tag_helper.rb +2 -1
- data/view_fu.gemspec +1 -1
- metadata +1 -1
data/lib/view_fu/tag_helper.rb
CHANGED
@@ -80,6 +80,7 @@ module ViewFu
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
alias :hidden_if :hide_if
|
83
|
+
alias :show_unless :hide_if
|
83
84
|
|
84
85
|
# Return a hidden attribute hash if a condition evaluates to false
|
85
86
|
def hide_unless(condition)
|
@@ -90,7 +91,7 @@ module ViewFu
|
|
90
91
|
end
|
91
92
|
end
|
92
93
|
alias :hidden_unless :hide_unless
|
93
|
-
|
94
|
+
alias :show_if :hide_unless
|
94
95
|
|
95
96
|
# Wrap a delete link
|
96
97
|
def delete_link(*args)
|
data/view_fu.gemspec
CHANGED