diff --git a/app/views/shared/_nav.html.erb b/app/views/shared/_nav.html.erb index e88f238..8fe9662 100644 --- a/app/views/shared/_nav.html.erb +++ b/app/views/shared/_nav.html.erb @@ -15,7 +15,7 @@ <%= link_to "Sign Up", signup_path, :class => "tab" %> <%= link_to "Login", login_path, :class => "tab" %> - <%= link_to "", "/auth/twitter", :id => "login_with_twitter", :class => "tab" %> + <% end %> \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 6a8fcb2..000add7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -16,7 +16,7 @@ map.api "api", :controller => :dashboard, :action => :api map.connect "/auth/failure", :controller => :users, :action => :failure - #map.connect "/auth/:provider", :controller => :users, :action => :blank + map.connect "/auth/:provider", :controller => :users, :action => :blank map.connect "/auth/:provider/callback", :controller => :users, :action => :login_with_twitter map.connect "dashboard/pages", :controller => :dashboard, :action => :pages