```ruby
Rails.application.routes.draw do |map|
  match '/js_named_routes' => 'named_routes#generate', :method => :get
end
```

Resolve the routing deprecation warnign
user
```ruby
Rails.application.routes.draw do
  match '/js_named_routes' => 'named_routes#generate', :method => :get
end
```
assistant