Revert "Revert "Registry 569""

This reverts commit 4786dbb
This commit is contained in:
Artur Beljajev 2017-10-22 23:57:11 +03:00
parent 0f352cab24
commit d520b5b157
50 changed files with 2462 additions and 323 deletions

View file

@ -2,6 +2,7 @@ module Admin
class ContactsController < BaseController
load_and_authorize_resource
before_action :set_contact, only: [:show]
helper_method :ident_types
def index
params[:q] ||= {}
@ -79,5 +80,9 @@ module Admin
params[:q][:created_at_lteq] = ca_cache
end
def ident_types
Contact::Ident.types
end
end
end