Commit 01510219 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Directly link sign in button on page headers with CAS login

parent 27d91b7b
......@@ -3,7 +3,7 @@
.header-content
- unless current_controller?('sessions')
.pull-right
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success'
= link_to "Sign in", user_omniauth_authorize_path(:cas), class: 'btn btn-sign-in btn-success'
%h1.title= title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment