fixes to dmail ui

This commit is contained in:
albert
2011-10-16 01:58:16 -04:00
parent a7267cf00b
commit 1e49a00150
14 changed files with 40 additions and 24 deletions

View File

@@ -20,6 +20,11 @@ class DmailsController < ApplicationController
respond_with(@dmails)
end
def search
@search = Dmail.search(params[:search])
respond_with(@dmails)
end
def show
@dmail = Dmail.find(params[:id])
check_privilege(@dmail)