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

Refactoring : séparer PeriodController & AdminPeriodController #878

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Jun 5, 2023

Similaire à #875

Quoi ?

Créer un nouveau controlleur AdminPeriodController, pour y mettre les actions admin.
J'en ai profité pour mettre le filtre commun dans un nouveau fichier PeriodFormHelper (similaire à SearchUserFormHelper)

Controlleur Route
PeriodController /period
AdminPeriodController /admin/period

Pourquoi ?

@raphodn raphodn self-assigned this Jun 5, 2023
@raphodn raphodn requested a review from symartin June 5, 2023 13:16
@raphodn raphodn merged commit 8a95327 into master Jun 6, 2023
@raphodn raphodn deleted the raphodn/period-controller-refactor branch June 6, 2023 12:56
@raphodn raphodn linked an issue Jun 6, 2023 that may be closed by this pull request
9 tasks
raphodn added a commit that referenced this pull request Jun 13, 2023
OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
…n-grenoble#878)

* Create AdminPeriodController

* Move filter form to new PeriodFormHelper
OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
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.

Refactoring : séparer les controlleurs admin & membres
1 participant