lib/phlex/rails/helpers.rb in phlex-rails-0.10.0 vs lib/phlex/rails/helpers.rb in phlex-rails-1.0.0
- old
+ new
@@ -881,9 +881,17 @@
# @!method phone_field_tag(...)
# @return [nil]
define_output_helper :phone_field_tag
end
+ module Pluralize
+ extend Phlex::Rails::HelperMacros
+
+ # @!method pluralize(...)
+ # @return [String]
+ define_value_helper :pluralize
+ end
+
module PreloadLinkTag
extend Phlex::Rails::HelperMacros
# @!method preload_link_tag(...)
# @return [nil]