Skip to content
Snippets Groups Projects
Commit f204885d authored by Vasily Gotovko's avatar Vasily Gotovko
Browse files

Update loading hook

parent c16cff12
No related branches found
No related tags found
No related merge requests found
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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment