mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Modified white ip form
This commit is contained in:
parent
b06eba83e8
commit
c234449dae
5 changed files with 98 additions and 63 deletions
|
@ -2,17 +2,15 @@ module Admin
|
|||
class WhiteIpsController < BaseController
|
||||
load_and_authorize_resource
|
||||
|
||||
before_action :set_registrar, only: [:new, :show, :edit, :destroy, :update]
|
||||
before_action :set_registrar, only: %i[new show edit destroy update]
|
||||
|
||||
def new
|
||||
@white_ip = WhiteIp.new(registrar: @registrar)
|
||||
end
|
||||
|
||||
def show;
|
||||
end
|
||||
def show; end
|
||||
|
||||
def edit;
|
||||
end
|
||||
def edit; end
|
||||
|
||||
def destroy
|
||||
if @white_ip.destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue