mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
105842700-routes_fix
This commit is contained in:
parent
79b435cef2
commit
216c4e9fa0
17 changed files with 161 additions and 18 deletions
8
app/controllers/registrant/contacts_controller.rb
Normal file
8
app/controllers/registrant/contacts_controller.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class Registrant::ContactsController < RegistrantController
|
||||
|
||||
def show
|
||||
@contact = Contact.find(params[:id])
|
||||
authorize! :read, @contact
|
||||
@contact.valid?
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue