Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Show create spam alias link only in alias dropdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
nning committed Feb 20, 2014
1 parent b7cbd17 commit 1ffea84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_menu_address_dropdown.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
= model.to_s.capitalize
%b.caret
%ul.dropdown-menu
- if current_mailbox.manager_of_address_domain?
- if current_mailbox.manager_of_address_domain? && model == :alias
%li= link_to 'Create spam alias', new_admin_domain_alias_path(current_mailbox.domain, spam: true)
%li.divider
- domains.quick_access.each do |domain|
Expand Down

0 comments on commit 1ffea84

Please sign in to comment.