angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

Route not work in production server with Rails #3463

Closed NSLog0 closed 4 years ago

NSLog0 commented 7 years ago

I use ruby on rails in development I have a trouble with route can't find views then solved with gem "angular-rails-templates". It's woking well. Since I deploy application I got empty page no error both server(log) and browser(inspector). If anyone used to work with rails and angular I posted the other information in gem "angular-rails-templates" repository here https://github.com/pitr/angular-rails-templates/issues/155 and Help me find out please

My version of UI-Router is: "0.2.18" and In my bower I put "angular-ui-router": "~0.2"

NSLog0 commented 7 years ago

Update: I found actually problem, A real problem. if some state have resolve function it will be freeze ui. I don't know why because I never met before. I working with resolve many time only error form server will make resolve and ui will freeze. I ran "rails s -e production" is work normal but on real server not working

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues may be reopened.

Thank you for your contributions.