diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-08-03 00:21:57 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-08-15 21:18:15 +0300 |
commit | 96399a81cbb2e8a0f666241eeaff7cc784c26983 (patch) | |
tree | 7123e352717a846300c031cb884028fbd0a7f1d3 /app/views/admin | |
parent | abf2dcd25c4a176801314872733ede91297d1ab0 (diff) |
Allow `Issue` to be submitted as spam
- Added controller actions as reusable concerns
- Added controller tests
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/spam_logs/_spam_log.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/spam_logs/_spam_log.html.haml b/app/views/admin/spam_logs/_spam_log.html.haml index f2b6106fb4a..4ce4eab8753 100644 --- a/app/views/admin/spam_logs/_spam_log.html.haml +++ b/app/views/admin/spam_logs/_spam_log.html.haml @@ -26,7 +26,7 @@ %td - if spam_log.submitted_as_ham? .btn.btn-xs.disabled - Submitted as Ham + Submitted as ham - else = link_to 'Submit as ham', mark_as_ham_admin_spam_log_path(spam_log), method: :post, class: 'btn btn-xs btn-warning' - if user && !user.blocked? |