Override a class in rails/refinerycms
-
09-10-2019 - |
Pergunta
I'm using refinery cms and want to override (add a method) to their page class. I've tried doing a Page.class_eval in a file in the initializers directory but it only seems to work on the first page load. after that the method i added disappears. any ideas how to do this?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow