score:0
Accepted answer
turns out it was a timing issue. the link i was using had turbolinks enabled. when i changed turbolinks to be false everything worked as expected.
score:0
i think you got the redirect code wrong. can you try this in the redirection controller?
redirect_to edit_user_path(user, track: "homepage")
use redirect_to
instead of return
Source: stackoverflow.com
Related Query
- How to redirect to a ruby on rails controller that renders a react rails page
- How to redirect from Spring controller to React page
- How to unit test a React component that renders after fetch has finished?
- How to make a button redirect to another page in React
- React tables Calculating Footer sum on page change on Sort on search, how can we achieve that
- How to redirect to login page on click of logout in react
- How to ensure that page has finished loading on a React site
- How to redirect to not found page if slug doesn't exist using React Router Dom?
- React - How to detect Page Refresh and Redirect user
- How do i make a react app redirect to the login page after registration?
- How do I return two functions in a function that renders as two components in react instead of the second function overwriting the first
- React redux how to redirect to specific page using react-router
- How to redirect to another page using history on React js?
- Redirect to a page that only show the contents of a component/page using React Router
- How to redirect to other page in react outside component in a function
- How can I redirect to another component in react and pass the state that I set in the previous component?
- How can I on Submit my Form redirect the Results to another Page in React
- How to redirect to a new page in react and typescript after an animation
- React JS: How do I redirect back to my main page when user refreshes another particular page?
- How to redirect from React front-end with Rails routes?
- How to test a React component that renders a Redux-connected component as a child without providing mock Redux store?
- How to I prevent user from accessing the page of my react app directly by entering the URL, and redirect them back to login page
- How to redirect another page after button on click method react js
- how to redirect to home page in react using useHistory Hook
- pass data to a page within a redirect in React but have error in when read data , How slove?
- How to call from C# to CEFSharp that run a web page using react
- How do i redirect to a page from button click in react from a component?
- React router - click on card and redirect to a new page with content of that card (card details) using useParams and reacthooks
- How to redirect to another page after Stripe React successful response?
- How to redirect to a url along with a component in react such that props passed to the component are not lost
More Query from same tag
- Getting Odd Warning In Console React Router
- Pass component state to sibling
- Sort function breaks when value is null/undefined (React, javascript)
- React open dropDown on top or bottom of dropDown input based on the element's position
- Add / remove a class to / from specific list items in react
- takeEvery and takeLatest. Why? When to use? Use simultaneously?
- open ant design popover from two link
- Webpack not loading image extensions
- How to create and deploy a React App properly?
- ReactJS - get latitude on click and show it in input
- How to add color to specific part of text in span element in react?
- Ionic 4: ion-chip activatable / clickable by default; how to turn off?
- How to configure Stylus support in a React.js application?
- React-typescript chart.js error 'type' is missing in type
- Use custom color schema in MUI theme
- Text-align attribute in HTML / CSS / ReactJS
- React referencing const outside of class
- React-PDF Slow Performance with large PDF
- React - What is the difference between renderToString and renderToStaticMarkup
- socket.io - receive emit events from dynamically created namespace
- How do I render specific results using Giphy API?
- page is not rendering when I click back button with react-router
- Having more than one condition in getDerivedStateFromProps in React
- Automatically Scroll to rendered element after setState in React.js
- How To Get Google User Profile Info Using Access Token From OAuth?
- How to use object spread reduxjs/toolkit
- React input field doesn't see value changing
- Why does my React Router return blank pages?
- why history is needed in dependency array of useEffect
- How to get minified files in project ( Gatsby / React )