You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I was playing around with angularjs_scaffold. Great stuff! Thanks. - It took me a long time to figure out the whole process of generating the view. Now I understand it and did some changes in my application, so I can remove all the views from Rails and use just your template views.
At the moment for two models my routes.rb looks like the following:
This routes all the html requests (when initial loading or reloading a page) to welcome#index and uses your layout. All other requests with json are routed correctly. In this case I could remove all the views, which makes the code more readable.
Maybe you like to put this into your library. Thanks anyway.
Daniel
The text was updated successfully, but these errors were encountered:
Hi
I was playing around with angularjs_scaffold. Great stuff! Thanks. - It took me a long time to figure out the whole process of generating the view. Now I understand it and did some changes in my application, so I can remove all the views from Rails and use just your template views.
At the moment for two models my routes.rb looks like the following:
This routes all the html requests (when initial loading or reloading a page) to welcome#index and uses your layout. All other requests with json are routed correctly. In this case I could remove all the views, which makes the code more readable.
Maybe you like to put this into your library. Thanks anyway.
Daniel
The text was updated successfully, but these errors were encountered: