How to avoid Rails scaffold to place model into namespace

Hi guys,

Rails 3 scaffold generator places model classes inside namespace.

Example:

rails generate scaffold admin/portfolio

But I want only controllers and views to be placed inside admin
namespace.

How can I avoid that?

Regards,
Alexey Zakharov.

ok

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