Skip to content

Commit

Permalink
Reduce amount clicks for login
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Jan 24, 2015
1 parent 389cdbb commit 888b685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/_nav.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
Logout
- else
%li
= link_to 'Login', new_user_sessions_path(return_to: request.fullpath), class: 'btn btn-new btn-login'
= link_to "Login with GitLab", auth_user_sessions_path, class: 'btn btn-new btn-login'
2 changes: 1 addition & 1 deletion app/views/projects/_public.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.bs-callout
= link_to new_user_sessions_path(return_to: request.fullpath) do
%strong Login
%strong Login with GitLab
to see your private projects

- if @projects.present?
Expand Down

0 comments on commit 888b685

Please sign in to comment.