Refactor redirectTab

XMLWordPrintable

      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.

            Assignee:
            Marie Huynh (Inactive)
            Reporter:
            Benn Oshrin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: