The Rails Way - Namespaces

后端 未结 4 1805
一生所求
一生所求 2020-12-04 08:16

I have a question about how to do something \"The Rails Way\". With an application that has a public facing side and an admin interface what is the general consensus in the

4条回答
  •  盖世英雄少女心
    2020-12-04 08:43

    In some smaller applications I don't think you need to separate the admin interface. Just use the regular interface and add admin functionality for logged in users.

    In bigger projects, I would go with a namespace. Using a subdomain doesn't feel right to me for some reason.

提交回复
热议问题