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:
rgarcia
2018-04-08 13:43:22 +02:00
committed by Julian Herrero
parent c6ab5dbe1b
commit f23fd6f3bb
7 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ class Admin::BudgetInvestmentsController < Admin::BaseController
end
def resource_name
resource_model.parameterize("_")
resource_model.parameterize(separator: "_")
end
def load_investments