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

Added controller hooks to make it easier to hook plugins into the FFCRM bootup sequence #1181

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

steveyken
Copy link
Member

When Fat Free CRM is run as an engine, other plugins need to be able to attach themselves to various parts of the boot up sequence to add or modify features. These new hooks enable code to target specific controllers in FFCRM (similar to the lazy load hooks that are already in place for models).

Once merged, I'll update https://github.com/fatfreecrm/fat_free_crm/wiki/Lazy-Load-Hooks

@steveyken steveyken requested a review from CloCkWeRX October 19, 2023 00:07
@@ -15,4 +15,6 @@
@email.destroy
respond_with(@email)
end

Check notice

Code scanning / Rubocop

Avoid trailing whitespace. Note

Layout/TrailingWhitespace: Trailing whitespace detected.
@@ -164,4 +164,6 @@
redirect_to contacts_path
end
end

Check notice

Code scanning / Rubocop

Avoid trailing whitespace. Note

Layout/TrailingWhitespace: Trailing whitespace detected.
@CloCkWeRX CloCkWeRX merged commit 1823e27 into master Oct 21, 2023
8 checks passed
@CloCkWeRX CloCkWeRX deleted the more-hooks branch October 21, 2023 09:22
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.

2 participants