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

Bug 1895526 - Create Bugzilla/App/Controller directory where modules are auto loaded instead of being hard coded in the App.pm module #2243

Merged
merged 3 commits into from
May 8, 2024

Conversation

dklawren
Copy link
Collaborator

@dklawren dklawren commented May 7, 2024

Currently in Bugzilla/App.pm whenever a new Mojo controller module is added to add new functionality, we have to include the loading of the specific module and call its setup_routes() function. This bug is to create a new Bugzilla/App/Controller directory that we can place new controller modules and they will be loaded automatically instead of being hard coded. The change will create the code to auto load the modules as well as move the existing modules to the new location.

…are auto loaded instead of being hard coded in the App.pm module
@dklawren dklawren requested a review from cgsheeh May 7, 2024 16:17
Bugzilla/App.pm Show resolved Hide resolved
@dklawren dklawren merged commit 372def7 into mozilla-bteam:master May 8, 2024
17 checks passed
@dklawren dklawren deleted the controllers branch May 8, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants