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

Fix default locale problems #1754

Merged
merged 2 commits into from
Aug 18, 2017
Merged

Fix default locale problems #1754

merged 2 commits into from
Aug 18, 2017

Conversation

beagleknight
Copy link
Contributor

🎩 What? Why?

Our generator wasn't including the Decidim.default_locale so the Organization created by default in some organization had the wrong value.
We also had a missing validation in the Organization model.

📌 Related Issues

None

📋 Subtasks

None

📷 Screenshots (optional)

N/A

👻 GIF

None

@mention-bot
Copy link

@beagleknight, thanks for your PR! By analyzing the history of the files in this pull request, we identified @josepjaume, @oriolgual and @mrcasals to be potential reviewers.

Copy link
Contributor

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Yes, nice ❤️! I noticed this while working on #1741, but forgot to fix it...

@codecov
Copy link

codecov bot commented Aug 18, 2017

Codecov Report

Merging #1754 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1754      +/-   ##
==========================================
+ Coverage   98.59%   98.61%   +0.01%     
==========================================
  Files         970      970              
  Lines       22214    22219       +5     
==========================================
+ Hits        21902    21911       +9     
+ Misses        312      308       -4

@beagleknight beagleknight merged commit 9ae8f1a into master Aug 18, 2017
@beagleknight beagleknight deleted the fix-default-locale branch August 18, 2017 14:19
@ghost ghost removed the in-review label Aug 18, 2017
beagleknight added a commit that referenced this pull request Aug 21, 2017
* Add default locale to decidim generator

* Organization default locale should be included in available locales
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