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

Let engines mount themselves #247

Merged
merged 3 commits into from
Nov 17, 2016
Merged

Conversation

josepjaume
Copy link
Contributor

🎩 What? Why?

We've all felt the pain of our development apps becoming outdated as we keep adding more engines - normally because you might need to add a new mount point in your routes.rb. This PR deals with it letting the engines mount themselves against Decidim::Core::Engine and making Decidim::Core::Engine the only mount point of the app.

📌 Related Issues

None

📋 Subtasks

None

📷 Screenshots (optional)

None

👻 GIF

@mention-bot
Copy link

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

@josepjaume josepjaume force-pushed the let_engines_mount_themselves branch from 17dcf72 to ec7053c Compare November 17, 2016 07:45
Copy link
Contributor

@oriolgual oriolgual left a comment

Choose a reason for hiding this comment

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

We also need to update the docs at the README for each engine.

@josepjaume josepjaume force-pushed the let_engines_mount_themselves branch from ec7053c to dcda8e5 Compare November 17, 2016 07:54
@codecov-io
Copy link

codecov-io commented Nov 17, 2016

Current coverage is 97.48% (diff: 33.33%)

Merging #247 into master will decrease coverage by 0.08%

@@             master       #247   diff @@
==========================================
  Files           270        270          
  Lines          4489       4496     +7   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           4380       4383     +3   
- Misses          109        113     +4   
  Partials          0          0          

Powered by Codecov. Last update b8828b4...6a07a1b

Copy link
Contributor

@beagleknight beagleknight left a comment

Choose a reason for hiding this comment

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

This is ultra cool!

@josepjaume josepjaume force-pushed the let_engines_mount_themselves branch from fa20e53 to 6a07a1b Compare November 17, 2016 13:43
@josepjaume
Copy link
Contributor Author

@AjuntamentdeBarcelona/developers you'll have to re-create your development and test apps after this.

@josepjaume josepjaume merged commit 4848aa2 into master Nov 17, 2016
@josepjaume josepjaume deleted the let_engines_mount_themselves branch November 17, 2016 14:00
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.

6 participants