How to get resource route methodes for custom templates in rails

If you write a custom template handler, e.g. for pdf templates you might want to use the rails resource route methods e.g. new_users_path. Here is the way how to get this working for a imaginary PDF template handler.

Tags: , ,

Leave a Reply