Domain history to admin, added deleted domains info

This commit is contained in:
Andres Keskküla 2014-11-12 16:05:05 +02:00
parent c64fa8c132
commit c49ec2b1c6
13 changed files with 80 additions and 245 deletions

View file

@ -1,18 +0,0 @@
class Admin::ContactVersionsController < AdminController
before_action :set_contact, only: [:show]
def index
@q = Contact.search(params[:q])
@contacts = @q.result.page(params[:page])
end
def show
@versions = @contact.versions
end
private
def set_contact
@contact = Contact.find(params[:id])
end
end