summaryrefslogtreecommitdiff
path: root/app/views/static/homepage.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 15:25:58 -0500
commite4ae559d8189519586e044238196ee45b2a10c6b (patch)
tree3d4977292aa234ea93ce604095f13d50484250a1 /app/views/static/homepage.html.erb
parent2f450dd30bb210fdc4cb8899c72e6da945a163ba (diff)
parentda95cb4f0f48731c2713c61f17b522b048647fd1 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/assets/stylesheets/scaffolds.css.scss app/views/layouts/application.html.erb db/migrate/20140304043618_create_servers.rb db/migrate/20140304043622_create_matches.rb db/migrate/20140304043631_create_games.rb
Diffstat (limited to 'app/views/static/homepage.html.erb')
-rw-r--r--app/views/static/homepage.html.erb7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/static/homepage.html.erb b/app/views/static/homepage.html.erb
index 5887d5f..3ca8176 100644
--- a/app/views/static/homepage.html.erb
+++ b/app/views/static/homepage.html.erb
@@ -5,10 +5,13 @@
<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 %>
<%= link_to 'See Ongoing Tournaments', tournaments_path, :class => "btn btn-warning btn-lg", :role => "button" %>
+
</p>
</div>