mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
105842700-related_commit_for_113525877
This commit is contained in:
parent
e077ba7ee8
commit
9df7e7cb9c
8 changed files with 40 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue