Intercepting scaffold functions

Two things:

  1. I want to control where the view returns to after creating a new
    object. Currently it directs to the list action of the model’s
    controller.

  2. Where do I edit the js that produces the green ‘objected created’
    text that is used in the scaffold default new action?

Thanks.

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