Rails API

With edge rails, is there a way to have API controllers and normal controllers living in the same app? The only way I’ve found to do that is to mount the API as a separate rack app, which I’d really rather not do.