show email lookup link for not logged in users

master
Coleman 2008-10-17 04:03:31 -05:00
parent 3ca488f4bc
commit c872dd9527
2 changed files with 1 additions and 4 deletions

View File

@ -33,6 +33,7 @@ module Merb
else
@menu_items << { :img => '/images/system-users.png', :name => 'Sign up', :title => 'Sign up for an account', :href => url(:new_user) }
@menu_items << { :img => '/images/system-lock-screen.png', :name => 'Log in', :title => 'Log in with your account', :href => url(:new_session) }
@menu_items << { :img => '/images/mail-message-new.png', :name => 'Lookup email', :title => 'Look up photos by email address', :href => url(:controller => :photos, :action => :by_email) }
end
end
@menu_items

View File

@ -33,7 +33,3 @@
%a{ :href => menu_item[:href], :title => menu_item[:name] }
%img{ :src => menu_item[:img] }
= menu_item[:title]
%li
%a{ :href => url(:controller => :photos, :action => :by_email) }
%img{ :src => '/images/mail-message-new.png' }
Lookup photos of you by email address