The file names do not matter. What matter are the constant names.
It's totally okay to have two files with identical names, like controllers/admin/books_controller.rb
, and controllers/books_controller.rb
.
However, the class names inside those controller should be different. You can add namespace to differentiate them. For example
class Admin::BooksController
class BooksController
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…