Sha256: 152b92cf39a2f22c7492668a72c9a2570ee91aac8decaa13003b804d40835b69
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
module Slugs module Extensions module ActionDispatch module OptimizedUrlHelper extend ActiveSupport::Concern private def parameterize_args(args) parameterized_args = args.map do |arg| Slugs.parameterize arg, @options end params = {} @required_parts.zip(parameterized_args) { |k,v| params[k] = v } params end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems