Skip to content
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

Merged

Conversation

spaghetticode
Copy link
Member

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.

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Rails

Copy link
Contributor

@jacobherrington jacobherrington left a 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
Copy link
Contributor

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.

Copy link
Member Author

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.
Copy link
Contributor

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.

Copy link
Member Author

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.
Copy link
Contributor

@jacobherrington jacobherrington left a 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 ❤️!

Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change, thanks!

@jacobherrington jacobherrington merged commit d41bf5a into solidusio:master Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants