From 5b889d1db8e62f555aa25877e91a3deed787bfd7 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Mon, 29 Aug 2016 12:55:03 -0300 Subject: [PATCH] Fix #535 --- sapl/protocoloadm/urls.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sapl/protocoloadm/urls.py b/sapl/protocoloadm/urls.py index e0a2af6be..2c7f4f529 100644 --- a/sapl/protocoloadm/urls.py +++ b/sapl/protocoloadm/urls.py @@ -17,8 +17,8 @@ from sapl.protocoloadm.views import (AnularProtocoloAdmView, ProtocoloPesquisaView, StatusTramitacaoAdministrativoCrud, TipoDocumentoAdministrativoCrud, - TipoInstituicaoCrud, - TramitacaoAdmCrud) + TipoInstituicaoCrud, TramitacaoAdmCrud, + pesquisa_autores) from .apps import AppConfig @@ -68,4 +68,10 @@ urlpatterns = [ ComprovanteProtocoloView.as_view(), name='comprovante_protocolo'), url(r'^protocoloadm/(?P\d+)/(?P\d+)/criar_documento$', CriarDocumentoProtocolo.as_view(), name='criar_documento'), + + # FIXME: Usado para pesquisar autor + # Melhor forma de fazer? + # Deve mudar de app? + url(r'^proposicao/pesquisar_autor', + pesquisa_autores, name='pesquisar_autor'), ]