1 Reply Latest reply on May 19, 2013 9:53 PM by Kutir Mobility

    Weird behavior of back button

      I have the following controller


      class TodoController < Rho::RhoController
        include BrowserHelper
        def index
           # make async request with callback to do_callback
           render :back => url_for(:controller => :Home, :action => :index)
        def new
           render :back => url_for(:controller => :Todo, :action => :index)
        def do_callback
           # do some update

      If pressing back button in New Todo view, the app navigate to the view of Todo Index. However, if I press back again, it not navigate to the Home Index view, but returning to the New Todo view.

      I'm using Rhodes 3.5.1. Please help if you know anything about this problem.


      Thanks very much.