Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-477

Refactor redirectTab

    XMLWordPrintable

Details

    Description

      As of r372, the following pattern is used:

      function add()

      { $this->redirectTab = 'address'; parent::add(); }

      A better method would be to set $this->redirectTab to null in AppController and set it in each applicable controller as necessary (possibly in a beforeFilter or beforeRender call). Overriding each add(), performRedirect() etc function shouldn't be needed.

      Attachments

        Activity

          People

            marie Marie Huynh (Inactive)
            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: