Overriding application helper

Added by Lilian DI ROSA 21 days ago

Hi,

I'm writing a plugin that changes some views, and I'd like to override the render_flash_messages method. I tried to write an /app/helpers/application_helper.rb like for overriding views but that doesn't work.

Is it possible to do such things ?

Thanks,
Lilian

Replies (1)

RE: Overriding application helper - Added by Bernhard Rohloff 10 days ago

Hi Lilian,

it sounds totally doable for me. I've overridden a method for the calendar and gantt module within a plugin.
Hopefully this helps you a bit to figure it out.

Kind regards,
Bernhard

(1-1/1)