method

api_only!

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Rails::Generators
api_only!() public

Configure generators for API only applications. It basically hides everything that is usually browser related, such as assets and session migration generators, and completely disable helpers and assets so generators such as scaffold won’t create them.

Show source
Register or log in to add new notes.