Closed rastislavcore closed 7 years ago
I have following error on gon v. 5.2.3 You can't use Gon public methods for storing data
You can't use Gon public methods for storing data
Problematic code: gon.current_user = { sn: current_user.sn }
gon.current_user = { sn: current_user.sn }
@raisty : You must be having some public method named current_user somewhere in your code. Are you using devise gem ?
current_user
You are absolutely true. The problem is with public method named current_user
I have following error on gon v. 5.2.3
You can't use Gon public methods for storing data
Problematic code:
gon.current_user = { sn: current_user.sn }