mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
9 lines
213 B
Ruby
9 lines
213 B
Ruby
class Registrant::RegistrantsController < RegistrantController
|
|
|
|
def show
|
|
@contact = Registrant.find(params[:id])
|
|
@current_user = current_user
|
|
authorize! :read, @contact
|
|
@contact.valid?
|
|
end
|
|
end
|