This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
redmine-oauth2-a2/lib/redmine_oauth2_a2/hooks.rb

10 lines
270 B
Ruby

module RedmineOauth2A2
class Hooks < Redmine::Hook::ViewListener
def view_account_login_bottom(context = {})
context[:controller].send(:render_to_string, {
:partial => "hooks/view_account_login_bottom",
:locals => context})
end
end
end