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:

hooks_manager_hook.rb.patch

Fabien Crespel, 24 May 2014 15:25

Download (473 Bytes)

View differences:

lib/hooks_manager_hook.rb (working copy)
2 2

  
3 3
    def view_layouts_base_html_head(context = {})
4 4
        stylesheet_link_tag('hooks', :plugin => 'hooks_manager')
5
        hook = Hook.find_by_hook(:view_layouts_base_html_head)
6
        return hook.html_code if hook
5 7
    end
6 8

  
7 9
    def respond_to?(method)
Terms of use | Privacy policy