mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Add remove clientHold to registrar UI
This commit is contained in:
parent
adba253d01
commit
3b332da0bb
9 changed files with 30 additions and 0 deletions
|
@ -153,6 +153,14 @@ class Registrar
|
|||
render json: scope.pluck(:name, :code).map { |c| { display_key: "#{c.second} #{c.first}", value: c.second } }
|
||||
end
|
||||
|
||||
def remove_hold
|
||||
authorize! :remove_hold, Depp::Domain
|
||||
return unless params[:domain_name]
|
||||
|
||||
@data = @domain.remove_hold(params)
|
||||
redirect_to info_registrar_domains_url(domain_name: params[:domain_name])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def init_domain
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue