Commit f204885d authored by Vasily Gotovko's avatar Vasily Gotovko

Update loading hook

parent c16cff12
require 'redmine'
require_dependency 'hooks/view_account_login_bottom_hook'
require_dependency 'redmine_omniauth_google/hooks'
Redmine::Plugin.register :redmine_omniauth_google do
name 'Redmine Omniauth Google plugin'
module Hooks
class ViewAccountLoginBottomHook < Redmine::Hook::ViewListener
module RedmineOmniauthGoogle
class Hooks < Redmine::Hook::ViewListener
def view_account_login_bottom(context = {})
context[:controller].send(:render_to_string, {
:partial => "hooks/view_account_login_bottom",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment