Story#105842700 - we don't need registrant views in registrant portal as it's usual contact

This commit is contained in:
Vladimir Krylov 2016-03-16 13:53:11 +02:00
parent 51a0449799
commit f4e068de12
8 changed files with 3 additions and 275 deletions

View file

@ -1,9 +0,0 @@
class Registrant::RegistrantsController < RegistrantController
def show
@contact = Registrant.find(params[:id])
@current_user = current_user
authorize! :read, @contact
@contact.valid?
end
end