-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update add-configuration
guide page
#3001
Update add-configuration
guide page
#3001
Conversation
Solidus does. | ||
|
||
Another way to add configuration is by customizing `Rails.configuration`, see the the | ||
[rails guides](https://guides.rubyonrails.org/configuring.html#custom-configuration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Rails
4d9afb3
to
a4a7330
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of tweaks!
by inheriting from the class `Spree::Preferences::Configuration` just like | ||
Solidus does. | ||
|
||
Another way to add configuration is by customizing `Rails.configuration`, see the the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've got the word the
twice on this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
class][app-configuration-class] is where all of Solidus's preferences are | ||
defined. | ||
documentation][app-configuration-documentation]. The `Spree::AppConfiguration` | ||
class is where all of Solidus's preferences are defined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer Solidus'
over Solidus's
, but I think both are technically okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Add some information on possible ways to add custom configuration to a Solidus store. Also, a reference to non existing page `app-configuration-class` was removed.
a4a7330
to
3a35e30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for showing the docs some ❤️!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good change, thanks!
Ref #2986
Add some information on possible ways to add custom configuration to a Solidus
store.
Also, a reference to non existing page
app-configuration-class
was removed.