Namespaced routes and js.erb

Whenever I try and use a .js.erb view in my nested routes it tries to
look for a layout(i.e. admin.js.erb). any ideas on how to stop this
other than calling :layout => false?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs