- I am maintaining a rails 4 application.
- In it the front end is designed using angular so all the html pages are present in public and obviously lot of redirect_to in the application.
- But the issue is that when ever the rails application do a redirect to it send the status code as 302 but the requirement is status code should be 200 ok only.
- Is their a way in rails to strictly send the status code to 200 ok always on all redirect_to. format.html { redirect_to root_path + '#/menu' }
now,How to redirect_to using status code 200 ok
Aucun commentaire:
Enregistrer un commentaire