mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
105842700-translation_and_link_fix
This commit is contained in:
parent
c315c17178
commit
2b186e9c93
6 changed files with 198 additions and 2 deletions
8
app/controllers/registrant/registrants_controller.rb
Normal file
8
app/controllers/registrant/registrants_controller.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class Registrant::RegistrantsController < RegistrantController
|
||||
|
||||
def show
|
||||
@contact = Registrant.find(params[:id])
|
||||
authorize! :read, @contact
|
||||
@contact.valid?
|
||||
end
|
||||
end
|
|
@ -3,6 +3,5 @@ class Registrant::RegistrarsController < RegistrantController
|
|||
def show
|
||||
@registrar = Registrar.find(params[:id])
|
||||
authorize! :read, @registrar
|
||||
@registrar.valid?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue