From fb76b4db64583def6db3aac43e31c25d3bd489df Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Tue, 4 Mar 2014 16:22:22 -0500 Subject: Git is telling me to commit I dont know why --- app/views/games/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb index 2c178f5..ccd0f63 100644 --- a/app/views/games/index.html.erb +++ b/app/views/games/index.html.erb @@ -1,6 +1,6 @@

Listing games

- +
@@ -32,4 +32,4 @@
-<%= link_to 'New Game', new_game_path, {:class => "btn btn-warning"} %> +<%= link_to 'New Game', new_game_path %> -- cgit v1.2.3-2-g168b From 489a9f7291b6b7c1143bb482f637020d82f944d5 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Tue, 4 Mar 2014 17:44:40 -0500 Subject: Buttons fixed --- app/views/layouts/application.html.erb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/views') diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6fdbbec..093f31a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,10 +20,11 @@
<% if signed_in? %> <%= current_user.user_name.upcase %> - + <%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout", :role => "button" %> <% else %> - - + <%= link_to "Log in", new_session_path, :class => "signin", :role => "button" %> + <%= link_to "Sign up", new_user_path, :class => "signup", :role => "button" + %> <% end %>
-- cgit v1.2.3-2-g168b From bc42a479891d491aecd5477cfeedd986e9738438 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Tue, 4 Mar 2014 17:55:49 -0500 Subject: sign out link edited --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 093f31a..e13a8df 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,7 +20,7 @@
<% if signed_in? %> <%= current_user.user_name.upcase %> - <%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout", :role => "button" %> + <%= link_to "Sign out", session_path("/signout"), method: "delete", :class => "signout", :role => "button" %> <% else %> <%= link_to "Log in", new_session_path, :class => "signin", :role => "button" %> <%= link_to "Sign up", new_user_path, :class => "signup", :role => "button" -- cgit v1.2.3-2-g168b
Name