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
If I use STI in my ActiveRecord models, and I have a controller for each model, and my controllers inherit from InheritedResources::Base, I end up having a lot of duplication of code in the views. In a normal controller, I would use "render 'shared/blah'" and use shared view templates in app/views/shared.
How can I do this with the Inherited Resources plugin? My apologies if this is a silly question, I'm quite new at this.
The text was updated successfully, but these errors were encountered:
If I use STI in my ActiveRecord models, and I have a controller for each model, and my controllers inherit from InheritedResources::Base, I end up having a lot of duplication of code in the views. In a normal controller, I would use "render 'shared/blah'" and use shared view templates in app/views/shared.
How can I do this with the Inherited Resources plugin? My apologies if this is a silly question, I'm quite new at this.
The text was updated successfully, but these errors were encountered: