lib/roda/plugins/multi_view.rb in roda-3.18.0 vs lib/roda/plugins/multi_view.rb in roda-3.19.0
- old
+ new
@@ -14,9 +14,13 @@
# is generally faster and uses less memory. However, constructing the regexps
# is more cumbersome. To make it easier, the multi_view plugin also offers a
# +multi_view_compile+ class method that will take an array of view template
# names and construct a regexp that can be passed to +r.multi_view+.
#
+ # The hash_routes plugin offers a views method that is similar to and performs
+ # better than the +r.multi_view+ method, and it is recommended to consider
+ # using that instead of this plugin.
+ #
# Example:
#
# plugin :multi_view
#
# route do |r|