Skip to content

NameError: uninitialized constant Action #79

@wncappletech

Description

@wncappletech

Receiving an error when trying to call the delete method on an item.

Here is the definition in the controller

def destroy
  @employee = Employee.find(params[:id])
  @employee.destroy
  respond_with @employee, location: employees_url
end

Any help or suggestions would be great. Thank.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions