[Rails] Releasing Inherited Resources Views - DRY Your View Files

on
| 1 min read

Using Inherited Resources is an excellent way to reduce the amount of repetition in your controllers. But what about views? A lot of times resources share the same views, so why not DRY ‘em up using Inherited Resources Views!

Go check out the code! :-)

Enjoy what you are reading? Sign up for a better experience on Persumi.

Comments