internetee-registry/app/controllers/registrant/registrants_controller.rb
2015-12-11 17:33:28 +02:00

8 lines
180 B
Ruby

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