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

Added the optional locale scope to the config/routes.rb file. Added a… #58

Merged
merged 9 commits into from
Aug 8, 2016

Conversation

briri
Copy link
Contributor

@briri briri commented Aug 3, 2016

… configuration variable called localize_routes that users can enable (disabled by default). This should prevent conflicts with any installations using a parent path that is not a locale (e.g. /blog/contact-us). Also updated the README to inform the users about the new option and incremented the version number.

… configuration variable called localize_routes that users can enable (disabled by default). This should prevent conflicts with any installations using a parent path that is not a locale (e.g. /blog/contact-us). Also updated the README to inform the users about the new option and incremented the version number.
@@ -1,3 +1,3 @@
module ContactUs
VERSION = "1.1.0"
VERSION = "1.1.1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Freeze mutable objects assigned to constants.

@briri
Copy link
Contributor Author

briri commented Aug 3, 2016

I don't think the Travis failures are due to these changes.

@@ -23,6 +23,10 @@ module ContactUs
mattr_accessor :parent_mailer
@@parent_mailer = "ActionMailer::Base"

# allows for a locale to appear in the path
Copy link
Collaborator

Choose a reason for hiding this comment

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

Trailing whitespace detected.

@JDutil
Copy link
Owner

JDutil commented Aug 5, 2016

@briri awesome I've made some updates to fix the broken build. Could you please update to the latest master to get the fixes, you can remove the version bump that I'll handle, and cleanup the extra/trailing whitespace warnings. Thank you.

@briri
Copy link
Contributor Author

briri commented Aug 8, 2016

All set JDutil. I rebased and cleaned up the remaining houndci warnings. I also removed the version number change I had made. Thanks!

@JDutil JDutil merged commit bd3d155 into JDutil:master Aug 8, 2016
@JDutil
Copy link
Owner

JDutil commented Aug 8, 2016

Thanks @briri I've release version 1.2.0 with this included.

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.

3 participants