```ruby
class AdministrativeAssistantController < ApplicationController
  def new
    @administrative_assistant = AdministrativeAssistant.new
  end

  def create
    @administrative_assistant = AdministrativeAssistant.create(administrative_assistant_params)
    if @administrative_assistant.save    
  end

  def show
    @administrative_assistant = AdministrativeAssistant.find(params[:id])
    @user = User.find(@administrative_assistant.user_id)
  end

  def destroy
    @administrative_assistant = AdministrativeAssistant.find(params[:id])
    @user = User.find(@administrative_assistant.user_id)
    @user.destroy
  end

  def enable
  end

  def approve_registration
  end

  def approve_allocation
  end

  def index_users
    @users = User.all
  end

  def view_users
  end

  def edit_users
  end

  def remove_users
  end

  private
  def administrative_assistant_params
    params[:administrative_assistant].permit(:user_id)
end
```

Add methods destroy aprove_regisration enable
user
```ruby
class AdministrativeAssistantController < ApplicationController
  def new
    @administrative_assistant = AdministrativeAssistant.new
  end

  def create
    @administrative_assistant = AdministrativeAssistant.create(administrative_assistant_params)
    if @administrative_assistant.save    
  end

  def show
    @administrative_assistant = AdministrativeAssistant.find(params[:id])
    @user = User.find(@administrative_assistant.user_id)
  end

  def destroy
    @administrative_assistant = AdministrativeAssistant.find(params[:id])
    @user = User.find(@administrative_assistant.user_id)

    @administrative_assistant = AdministrativeAssistant.all
    if @administrative_assistant.count > 1
      @administrative_assistant.destroy
      @user.destroy
      redirect_to destroy_path
    else
      redirect_to index_path(@administrative_assistant.id)
    end
  end

  def enable
    @user = User.find(:id)
    @user.active = true
  end

  def approve_registration
    @user = User.find_by(active: false)
  end

  def approve_allocation
  end

  def index_users
    @users = User.all
  end

  def view_users

  end

  def edit_users
  end

  def remove_users
  end

  private
  def administrative_assistant_params
    params[:administrative_assistant].permit(:user_id)
end
```
assistant