Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Append engine mount #1576

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Append engine mount #1576

merged 1 commit into from
Aug 10, 2020

Conversation

gmcgibbon
Copy link
Member

@gmcgibbon gmcgibbon commented Aug 4, 2020

Description

Adds automatic engine mounting via a prepend hook. This is to prevent other engine routes being overridden by the main engine mount. If the gem automatically prepends the quilt engine, then other engines can draw on the application routes without worrying about precedence.

Type of change

  • quilt_rails Patch: Bug (non-breaking change)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

@gmcgibbon gmcgibbon force-pushed the route_append branch 2 times, most recently from 2cde17a to 9cef600 Compare August 4, 2020 22:47
@gmcgibbon gmcgibbon marked this pull request as ready for review August 4, 2020 22:51
@gmcgibbon gmcgibbon requested a review from rafaelfranca August 5, 2020 20:24
Copy link
Contributor

@michenly michenly left a comment

Choose a reason for hiding this comment

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

Look great! should we wait till rails/rails#39981 is in?

@gmcgibbon
Copy link
Member Author

gmcgibbon commented Aug 10, 2020

Look great! should we wait till rails/rails#39981 is in?

Since we aren't using edge rails in our tests we either have to wait for a release or test against edge (and other versions we support in a test matrix). Right now I think it is fine to merge as-is and worry about more granular testing later.

@gmcgibbon gmcgibbon merged commit f3e655f into master Aug 10, 2020
@gmcgibbon gmcgibbon deleted the route_append branch August 10, 2020 18:03
@gmcgibbon gmcgibbon temporarily deployed to gem August 10, 2020 19:08 Inactive
@michenly michenly temporarily deployed to production August 18, 2020 16:38 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants