lib/jpmobile/template_details.rb in jpmobile-7.1.0 vs lib/jpmobile/template_details.rb in jpmobile-7.2.0
- old
+ new
@@ -26,10 +26,10 @@
class Requested < ActionView::TemplateDetails::Requested
attr_reader :mobile, :mobile_idx
def initialize(locale:, handlers:, formats:, variants:, mobile:)
- super(locale: locale, handlers: handlers, formats: formats, variants: variants)
+ super(locale:, handlers:, formats:, variants:)
@mobile = mobile.map(&:to_sym)
@mobile_idx = build_idx_hash(mobile)
end
end