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

Support nested controllers in modules #1894

Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 14, 2020

What is this pull request for?

A controller defined as Alchemy::Admin::Pages::ListController is currently not supported in Alchemy module definitions.

This adds support for it.

Notable changes

Changes controller names in the core modules definition from relative to absolute.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 5.1 milestone Jul 14, 2020
tvdeyen added 2 commits July 14, 2020 23:41
Otherwise nested controllers wont be able to rersolve routes
In order to be able to find a controllers alchemy module definition from a nested controller.
@tvdeyen tvdeyen force-pushed the support-nested-controllers-in-modules branch from 3d1f055 to 21dffc2 Compare July 14, 2020 21:41
@tvdeyen tvdeyen force-pushed the support-nested-controllers-in-modules branch from 21dffc2 to 17cfcb5 Compare July 17, 2020 06:24
@tvdeyen tvdeyen merged commit b1722f8 into AlchemyCMS:master Jul 17, 2020
@tvdeyen tvdeyen deleted the support-nested-controllers-in-modules branch July 17, 2020 06:56
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.

1 participant