show email lookup link for not logged in users
parent
3ca488f4bc
commit
c872dd9527
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue