neorails-view_fu 0.9.2 → 0.9.3
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/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