rails / jbuilder

Jbuilder: generate JSON objects with a Builder-style DSL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails6 removed namespaced_file_path

kdiogenes opened this issue · comments

This PR removed namespaced_file_path from Rails6: rails/rails#27353

The jubilder controller template still uses this method: https://github.com/rails/jbuilder/blob/master/lib/generators/rails/templates/controller.rb#L2

I replaced this method by namespaced_path and all tests keep green.

Is there anything against this change?

I also created a PR #471

This is fixed in #471 - thank you for taking the time to describe and repair this!