lib/js_routes/instance.rb in js-routes-2.2.4 vs lib/js_routes/instance.rb in js-routes-2.2.5
- old
+ new
@@ -53,10 +53,10 @@
{
'GEM_VERSION' => JsRoutes::VERSION,
'ROUTES_OBJECT' => routes_object,
'RAILS_VERSION' => ActionPack.version,
'DEPRECATED_GLOBBING_BEHAVIOR' => ActionPack::VERSION::MAJOR == 4 && ActionPack::VERSION::MINOR == 0,
-
+ 'DEPRECATED_FALSE_PARAMETER_BEHAVIOR' => ActionPack::VERSION::MAJOR < 7,
'APP_CLASS' => application.class.to_s,
'DEFAULT_URL_OPTIONS' => json(@configuration.default_url_options),
'PREFIX' => json(@configuration.prefix),
'SPECIAL_OPTIONS_KEY' => json(@configuration.special_options_key),
'SERIALIZER' => @configuration.serializer || json(nil),