diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-17 23:11:41 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-17 23:11:41 +0400 |
commit | 2cd3d421817a225dcd6068ce9aeac0689b5b97f0 (patch) | |
tree | e2e83bab397fbd0afd73b2a1fd20907f310db175 /app/views/devise/shared | |
parent | 164f9d876083db94c47185ddcd11c40cde08ea01 (diff) |
Use gitlab_config intead of Gitlab.config.gitlab in views
Diffstat (limited to 'app/views/devise/shared')
-rw-r--r-- | app/views/devise/shared/_links.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_links.erb b/app/views/devise/shared/_links.erb index db931b86288..49e99e25c1d 100644 --- a/app/views/devise/shared/_links.erb +++ b/app/views/devise/shared/_links.erb @@ -2,7 +2,7 @@ <%= link_to "Sign in", new_session_path(resource_name), class: "btn" %><br /> <% end -%> -<%- if devise_mapping.registerable? && controller_name != 'registrations' && Gitlab.config.gitlab.signup_enabled %> +<%- if devise_mapping.registerable? && controller_name != 'registrations' && gitlab_config.signup_enabled %> <%= link_to "Sign up", new_registration_path(resource_name) %><br /> <% end -%> |