Last active
June 29, 2016 18:29
-
-
Save axilleas/abdf48664cea9229ad69 to your computer and use it in GitHub Desktop.
GitLab helper for custom login page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find this file in app/helpers/appearances_helper.rb | |
# Discussion at http://axilleas.me/en/blog/2014/custom-gitlab-login-page/ | |
module AppearancesHelper | |
def brand_item | |
true | |
end | |
def brand_title | |
'My Organization' | |
end | |
def brand_image | |
nil | |
end | |
def brand_text | |
"This is my brand text" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment