Class: ForeignUsersController

Inherits:
AdminController show all
Defined in:
app/controllers/foreign_users_controller.rb

Overview

Handling foreign users

Instance Method Summary collapse

Instance Method Details

#destroyObject

delete /foreign_users/:id



8
9
10
11
12
# File 'app/controllers/foreign_users_controller.rb', line 8

def destroy
  flash[:notice] = t('foreign_users.destroy.success') if @entity.destroy

  redirect_to admin_foreign_users_path
end