You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class Users::OpenUsersController < Users::BaseAccountController
|
|
def destroy
|
|
current_open_users.destroy!
|
|
|
|
render_ok
|
|
end
|
|
|
|
private
|
|
|
|
def current_open_users
|
|
@_current_third_party ||= observed_user.open_users.find(params[:id])
|
|
end
|
|
end |