105842700-related_commit_for_113525877

This commit is contained in:
Stas 2016-02-17 17:48:55 +02:00
parent e077ba7ee8
commit 9df7e7cb9c
8 changed files with 40 additions and 4 deletions

View file

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