diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-04 10:57:54 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-04 10:57:54 -0500 |
commit | 1d90f33bf07f9610d358c6c9c56754784b050541 (patch) | |
tree | 4d7385e543e0ed77d43a7ed8fd4045087f17848a /app/views/static | |
parent | 42cf035f9023e773a20d2b14a984ba0a5fef9c60 (diff) |
simplify the sessions routing
Diffstat (limited to 'app/views/static')
-rw-r--r-- | app/views/static/homepage.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/static/homepage.html.erb b/app/views/static/homepage.html.erb index 8b96e11..3ca8176 100644 --- a/app/views/static/homepage.html.erb +++ b/app/views/static/homepage.html.erb @@ -5,8 +5,8 @@ <p>This is a tournment management system designed to be used for any team sport. Our peer review system ensures that the best players move on to the next round! Try creating a new tournament and having people sign up for it. </p> <p id="jumbo-buttons"> <% if !signed_in? %> - <%= link_to 'Log In', "/signin", :class => "btn btn-warning btn-lg", :role => "button" %> - <%= link_to 'Sign Up', "/signup", :class => "btn btn-warning btn-lg", :role => "button" %> + <%= link_to 'Log In', new_session_path, :class => "btn btn-warning btn-lg", :role => "button" %> + <%= link_to 'Sign Up', new_user_path, :class => "btn btn-warning btn-lg", :role => "button" %> <% else %> <%= link_to 'Start a Tournament', new_tournament_path, :class => "btn btn-warning btn-lg", :role => "button" %> <% end %> |