Remove parameterise deprecation warning
DEPRECATION WARNING: Passing the separator argument as a positional parameter is deprecated and will soon be removed. Use `separator: '_'` instead.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module DocumentablesHelper
|
||||
|
||||
def documentable_class(documentable)
|
||||
documentable.class.name.parameterize("_")
|
||||
documentable.class.name.parameterize(separator: "_")
|
||||
end
|
||||
|
||||
def max_documents_allowed(documentable)
|
||||
|
||||
Reference in New Issue
Block a user