how to add #{authenticityToken /} to all playframework forms

59 Views Asked by At

I am using playframework 1.7 and i want to inject #{authenticityToken /} to each and every form as mentioned in https://www.playframework.com/documentation/1.2.5/security under the Cross-Site Request Forgery section.

I have hundreds of form in my project, is there a way to inject this in all the forms instead of manually going to each of the forms and adding #{authenticityToken /} manually?

0

There are 0 best solutions below