akismet integration

This commit is contained in:
r888888888
2017-09-14 13:19:16 -07:00
parent d12f082f9a
commit b944b642b8
14 changed files with 90 additions and 3 deletions

View File

@@ -18,6 +18,10 @@ module DmailsHelper
dmails_path(search: {from_id: CurrentUser.id}, folder: "sent", **params)
end
def spam_dmails_path
dmails_path(search: {to_id: CurrentUser.id, is_spam: true}, folder: "spam")
end
def received_dmails_path(params = {})
dmails_path(search: {to_id: CurrentUser.id}, folder: "received", **params)
end