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

pass current_user / Ahoy::Visit to API/Data pipeline #457

Closed
donrestarone opened this issue Apr 23, 2022 · 0 comments
Closed

pass current_user / Ahoy::Visit to API/Data pipeline #457

donrestarone opened this issue Apr 23, 2022 · 0 comments
Assignees
Labels
API - data pipeline v3 Data pipeline 0.3 enhancement New feature or request high priority

Comments

@donrestarone
Copy link
Contributor

donrestarone commented Apr 23, 2022

current_visit, current_user (if any)

controller: app/controllers/resource_controller.rb

be able to use those the data in those objects in dynamic sections

Screen Shot 2022-06-13 at 8 46 33 AM

@donrestarone donrestarone added the enhancement New feature or request label Apr 23, 2022
@donrestarone donrestarone assigned alis-khadka and unassigned Pralish Jun 13, 2022
donrestarone added a commit that referenced this issue Jul 11, 2022
## ability to reference `current_user` and `current_visit` in API Actions
Addresses: #457
![Screenshot from 2022-07-11 17-57-56](https://user-images.githubusercontent.com/35935196/178365888-45273665-9617-4d97-919f-e29772ee2d17.png)
## example usage
![Screenshot from 2022-07-11 17-58-10](https://user-images.githubusercontent.com/35935196/178365941-ad6136eb-24ba-47a2-9928-46b11580e549.png)

Co-authored-by: Prashant Khadka <prashant.khadka052@gmail.com>
donrestarone added a commit that referenced this issue Jul 14, 2022
donrestarone added a commit that referenced this issue Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API - data pipeline v3 Data pipeline 0.3 enhancement New feature or request high priority
Projects
None yet
Development

No branches or pull requests

3 participants