Commit e34eddb1

mo k <m@mokhan.ca>
2011-12-02 07:35:19
remove authentication class and remove links from profile sidebar.
1 parent 7ebb5c9
Changed files (2)
app/models/authentication.rb
@@ -1,11 +0,0 @@
-class Authentication < ActiveRecord::Base
-  belongs_to :user
-
-  def provider_name
-    if provider == 'open_id'
-      "OpenID"
-    else
-      provider.titleize
-    end
-  end
-end
app/views/shared/_my_profile_sidebar.html.erb
@@ -2,10 +2,3 @@
 <img src="<%= avatar_url current_user %>&amp;s=200" alt="<%= current_user.name %>" class="photo" />
 <p>member since: <%= current_user.created_at.to_s :foomat %></p>
 <p>last signed in: <%= current_user.last_sign_in_at.to_s :foomat %></p>
-
-<ul>
-    <li> <%= link_to "My Creations", profiles_mine_path %></li>
-    <li> <%= link_to "Share Creation", new_creation_path %></li>
-    <li><a href="http://en.gravatar.com/" target="_blank">Change My Photo</a></li>
-    <li> <%= link_to "Edit", edit_user_registration_path %> </li>
-</ul>