I have two applications that I am working on. One of them is the admin side and the other one is the customer side.
I have a method on the customer side and I would like to use it on the admin side. My question is this; how can I use it?
The method is under app/services/production_personalization#generate_qr_code(url)
The view I would like to use this method is running under production#show
*I cannot share any code with you because it is forbidden. Thanks for your understanding.
Based on the limited information you have provided, I can suggest you take a look at those:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.