-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ApplicationDecorator class #727
Comments
I did the same thing as well. +1 |
Nice idea! |
👍 I do the same thing. I typically implement |
Yeap, good idea! We could create rake task |
Yeah exactly. Happy to take a first punch at a PR for this if it's something the team wants to pursue. Who makes decisions like this on the Draper team? @seanlinsley what are your thoughts on the subject? |
👍 sounds like a good idea |
This seems like a good idea. Is anyone still interested in taking a stab at a PR? |
@codebycliff, this is a great idea. I'll get a branch started. |
This was merged in #796. |
A common pattern in Rails is to have ApplicationController, ApplicationMailer, etc. The class inherits from base and developer generated code inherits from it. This provides a useful place to implement common functionality.
We are manually introducing this in our app it but it could be a built-in feature. Does anyone have ideas / suggestions?
The text was updated successfully, but these errors were encountered: