How to correct set root route in Rails 4 for AngularJS?
问题 I have a troubles with integrating Rails routing with AngularJS. When I go to "localhost:3000" in browser input, it redirect me to the "localhost:3000/#/auth/sign_in" but 'sign_in' template not render. Then, secondary if I go to the "localhost:3000/#/", it redirect me to the "localhost:3000/#/auth/sign_in" and render 'sign_in' template right. How to fix it, when I go to "localhost:3000" then render 'sign_in' ? Router code here: http://pastie.org/8917505 Thanks! 回答1: I have found the solution.