Closed alinanevins closed 7 years ago
undefined local variable or method `name' for #DocumentationsController:0x007fe496668780
Extracted source (around line #96): 94 95 96 97 98 99
id = params[:id] Documentation.delete(id) flash[:notice] = "Documentation #{name} was successfully deleted" redirect_to "/"
end
undefined local variable or method `name' for #DocumentationsController:0x007fe496668780
Extracted source (around line #96): 94 95 96 97 98 99
end