• Eric Davis's avatar
    Added request and controller objects to the hooks by default. · 5b7a5c39
    Eric Davis authored
    The request and controller objects are now added to all hook contexts by
    default.  This will also make url_for work better in hooks by setting up
    the default_url_options :host, :port, and :protocol.
    
    Finally a new helper method @render_or@ has been added to ViewListener.  This
    will let a hook easily render a partial without a full method definition.
    
    Thanks to Thomas Löber for the original patch.  #2542
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2429 e93f8b46-1217-0410-a6f0-8f06a7374b81
    5b7a5c39
Name
Last commit
Last update
..
wiki_formatting Loading commit data...
access_control_test.rb Loading commit data...
hook_test.rb Loading commit data...
plugin_test.rb Loading commit data...
unified_diff_test.rb Loading commit data...