Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
redmine-oauth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyECP
redmine-oauth
Commits
f204885d
Commit
f204885d
authored
Jan 15, 2013
by
Vasily Gotovko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update loading hook
parent
c16cff12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
init.rb
init.rb
+1
-1
lib/redmine_omniauth_google/hooks.rb
lib/redmine_omniauth_google/hooks.rb
+2
-2
No files found.
init.rb
View file @
f204885d
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'
...
...
lib/
hooks/view_account_login_bottom_hook
.rb
→
lib/
redmine_omniauth_google/hooks
.rb
View file @
f204885d
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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment