ruby on rails 3 authlogic session[:return_to] = request.request_uri

17.22 Muhamad Akbar Bin Widayat 0 Comments


reverse below

    def store_location
      session[:return_to] = request.request_uri
    end
 
by

   def store_location
      session[:return_to] = request.fullpath
    end

0 komentar:

terimakasih komentarnya