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

Correct manner to override controller? #13

Open
lcpriest opened this issue Jan 9, 2019 · 0 comments
Open

Correct manner to override controller? #13

lcpriest opened this issue Jan 9, 2019 · 0 comments

Comments

@lcpriest
Copy link

lcpriest commented Jan 9, 2019

I want to scope the hooks to user accounts, so I believe I need to override the controller in order to do set the owner_class_name and owner_id based on the authentication headers that Zapier sends.
(These can be used to find an account in my system)

Is there a recommended way to set an owner_class_name and owner_id on the ZapierRestHooks::Hook or should I just override the controller?

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

No branches or pull requests

1 participant