I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Plugin development - parse_redmine_links

Added by George Miller over 11 years ago

Hello,

I write a Plugin and I’m not very adept in Ruby.
I want to use the function parse_redmine_links from the ApplicationHelper.
If I call parse_redmine_links(params ...) I get the expected result but if
I install the WikiNG Plugin which extends the function
ApplicationHelper.parse_redmine_links the result of the call of parse_redmine_links
in my Plugin is nil.
Is there a another/better way to call parse_redmine_links?

Environment:
  Redmine version                          2.2.3.devel.11446
  Ruby version                             1.9.3 (i386-mingw32)
  Rails version                            3.2.12
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  wiking                                   0.0.3

Best regards
George Miller


Replies (1)

RE: Plugin development - parse_redmine_links - Added by George Miller over 11 years ago

Hello,

the correct solution is to use the textilizable(*args) method from the ApplicationHelper module.

Best regards

    (1-1/1)

    Terms of use | Privacy policy